no input boxes to enter parameter values in web services explorer [message #177381] |
Fri, 18 August 2006 10:18  |
Eclipse User |
|
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_0022_01C6C2D9.994908B0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0023_01C6C2D9.994908B0"
------=_NextPart_001_0023_01C6C2D9.994908B0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
=20
when i open the web services excplorer and type in the wsdl url and Go. =
i get a list of the methods i can invoke
However, when i click a method it says enter the parameters and click Go =
to invoke, but there are no input boxes to enter the parameters. i know =
the method is expecting parametrs, i can see this when i type the =
endpoint into my broswer and look at the wsdl file. Can someone tell me =
why this is so?
Also when i click source i get this. what am i suppose to enter in the =
box?
thaks
<soapenv:Envelope =20
xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/" =20
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" =20
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> =20
<soapenv:Body> =20
Load Save As... =20
=20
</soapenv:Body> =20
</soapenv:Envelope> =20
------=_NextPart_001_0023_01C6C2D9.994908B0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2> </FONT></DIV>
<DIV><FONT size=3D2>when i open the web services excplorer and type in =
the wsdl=20
url and Go. i get a list of the methods i can invoke</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>However, when i click a method it says enter the =
parameters=20
and click Go to invoke, but there are no input boxes to enter the=20
parameters. i know the method is expecting parametrs, i can see =
this when=20
i type the endpoint into my broswer and look at the wsdl file. Can =
someone=20
tell me why this is so?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Also when i click source i get this. what am i =
suppose=20
to enter in the box?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>thaks</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD class=3Dlabels vAlign=3Dbottom height=3D30><soapenv:Envelope=20
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD width=3D8><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D8> </TD>
<TD class=3Dlabels=20
=
vAlign=3Dbottom>xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope=
/"=20
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD width=3D8><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D8> </TD>
<TD class=3Dlabels=20
vAlign=3Dbottom>xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"=20
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD width=3D8><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D8> </TD>
<TD class=3Dlabels=20
=
vAlign=3Dbottom>xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"&g=
t;=20
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD width=3D8><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D8> </TD>
<TD class=3Dlabels vAlign=3Dbottom><soapenv:Body>=20
</TD></TR></TBODY></TABLE></DIV>
<DIV><FONT size=3D2></FONT> </DIV><FONT size=3D2>
<DIV>
<TABLE cellSpacing=3D3 cellPadding=3D3 border=3D0>
<TBODY>
<TR>
<TD width=3D16></TD>
<TD vAlign=3Dcenter noWrap align=3Dleft><INPUT title=3D"SOAP data =
file"=20
type=3Dfile name=3DselectedFile> </TD>
<TD class=3Dlabels vAlign=3Dcenter noWrap align=3Dleft><A=20
href=3D"javascript:showNewFileContents()">Load</A> </TD>
<TD class=3Dlabels vAlign=3Dcenter noWrap align=3Dleft><A=20
href=3D"javascript:saveSourceContent()">Save As...</A>=20
</TD></TR></TBODY></TABLE></DIV>
<DIV> </DIV>
<DIV>
<TABLE cellSpacing=3D3 cellPadding=3D3 width=3D"95%" border=3D0>
<TBODY>
<TR>
<TD width=3D16><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D16> </TD>
<TD width=3D"100%"><TEXTAREA class=3Dbigtextareaenter =
id=3Dsoap_body_content style=3D"WIDTH: 321px; HEIGHT: 69px" =
name=3D::sourceContent rows=3D3 cols=3D34></TEXTAREA>=20
</TD></TR></TBODY></TABLE></DIV></FONT>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV>
<TABLE cellSpacing=3D0 cellPadding=3D1 width=3D"95%">
<TBODY>
<TR>
<TD width=3D8><IMG height=3D16=20
src=3D"http://localhost:53485/wsexplorer/images/space.gif" =
width=3D8> </TD>
<TD class=3Dlabels vAlign=3Dbottom></soapenv:Body> =
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3D0 cellPadding=3D1 width=3D"95%">
<TBODY>
<TR>
<TD class=3Dlabels vAlign=3Dbottom></soapenv:Envelope>=20
</TD></TR></TBODY></TABLE></DIV></BODY></HTML>
------=_NextPart_001_0023_01C6C2D9.994908B0--
------=_NextPart_000_0022_01C6C2D9.994908B0
Content-Type: image/gif;
name="space.gif"
Content-Transfer-Encoding: base64
Content-Location: http://localhost:53485/wsexplorer/images/space.gif
R0lGODlhCgABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAAKAAEAQAID lI8FADs=
------=_NextPart_000_0022_01C6C2D9.994908B0--
|
|
|
|
|
|
Re: no input boxes to enter parameter values in web services explorer [message #177464 is a reply to message #177449] |
Fri, 18 August 2006 12:47  |
Eclipse User |
|
|
|
If the WSDL you are testing in the WSE is in your workspace than just
double click on the WSDL (or right click on it, open with > WSDL
Editor). If the WSDL is not in your workspace then you can import it
into a project. To validate it right click and select "Validate".
I am wondering if you are missing a targetNamespace or something,
because usually my soapenv element would look something like this:
<soapenv:Envelope
xmlns:q0="http://wtp"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Where the xmlns:q0="http://wtp" is the target namespace of my WSDL.
This namespace is missing in your soapenv element. This is just a guess
though.
You could try testing out the WSE by following the Instructions at
http://www.eclipse.org/webtools/jst/components/ws/1.0/tutori als/WebServiceExplorer/WebServiceExplorer.html
Hope this is helpful
plork123 wrote:
> where abouts is the wsdl editor?
>
>
>
>
> "plork123" <plork123@hotmail.com> wrote in message
> news:ec4p6p$inr$1@utils.eclipse.org...
>> Thanks
>>
>> The parameters are Strings, nothing complex. It happens on all wsdls.
>>
>> I can call them using the
>> Service service = new Service();
>> Call call = (Call) service.createCall();
>> call.setTargetEndpointAddress(endpoint);
>> etc...
>>
>> I'll try entering the xml body of the soap message, see if i can invoke
>> them that way
>>
>> Thanks
>>
>>
>>
>>
>> "Mark Hutchinson" <mahutch@ca.ibm.com> wrote in message
>> news:44E5DB09.3070201@ca.ibm.com...
>>> What type of Parameters is your service expecting? This sounds like it
>>> could be a bug with the Web Services Explorer not handling certain types
>>> properly. Is the problem only happening on a certain WSDL, or all of
>>> them?
>>>
>>> Are you certain that your WSDL is valid? Try validating it in the WSDL
>>> editor.
>>>
>>> If you find that your WSDL is valid I would suggest that you open a bug
>>> against wst.ws and attach your problem WSDL to the bug if possible.
>>>
>>> The source view is an alternative to the form view. You can use the
>>> source view to enter the XML body of the soap message by typing it in
>>> rather than filling in the inputs in the form view.
>>>
>>>
>>>
>>> plork123 wrote:
>>>> when i open the web services excplorer and type in the wsdl url and
>>>> Go. i get a list of the methods i can invoke
>>>> However, when i click a method it says enter the parameters and click
>>>> Go to invoke, but there are no input boxes to enter the parameters. i
>>>> know the method is expecting parametrs, i can see this when i type the
>>>> endpoint into my broswer and look at the wsdl file. Can someone tell me
>>>> why this is so?
>>>> Also when i click source i get this. what am i suppose to enter in the
>>>> box?
>>>> thaks
>>>> <soapenv:Envelope
>>>>
>>>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
>>>>
>>>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>>>
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>>>>
>>>> <soapenv:Body>
>>>>
>>>> Load <javascript:showNewFileContents()> Save As...
>>>> <javascript:saveSourceContent()>
>>>>
>>>> </soapenv:Body>
>>>>
>>>> </soapenv:Envelope>
>>>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.28587 seconds