Re: setObjectPart for a specific WSDL
Gnanaprakash Ramswami <[email protected]> Sat, 31 Oct 2009 15:15:34 -0700
| Newsgroups | gmane.comp.apache.webservices.wsif.user |
|---|---|
| Message-ID | <[email protected]> |
--0016e64cc4a8c42c600477427b9b Content-Type: text/plain; charset=ISO-8859-1 Hi Dinyo, The way you set the parameters depends on which style of service you are invoking, rpc/literal or document/literal| wrapped. If you can send the WSDL I can take a look at it. Thanks Prakash On Sat, Oct 31, 2009 at 4:03 AM, Dinyo Haygarov <[email protected]> wrote: > Hello, > > I was wondering if you could help me with a problem I have in WSIF. I have > the following WSDL of a webservice: > > <?xml version="1.0" encoding="utf-8"?> > > <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> > > > <soap12:Body> > > <SetWebServiceConfig xmlns="http://test/gor/apps/testcase/lib/stubs/boo <http://test/rim/bbapps/testcase/lib/stubs/boo>" > > <wsc> > > <ConnectionString>string</ConnectionString> > <ServerURL>string</basServerURL> > <ServerTimeout>int</basServerTimeout> > > <username>string</username> > > <password>string</password> > <domain>string</domain> > <loginType>string</loginType> > > </wsc> > > </SetWebServiceConfig> > > > </soap12:Body> > </soap12:Envelope> > > > So when I use setObjectPart(serverURL, "www.someurl.com") the sever > doesn't accept it but rather wants to set that wsc xml tag first. > > Do you have an idea how to access i.e. set the wsc tag from WSIF? > > Thanks, > Dinyo --0016e64cc4a8c42c600477427b9b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Dinyo,<div><br></div><div>The way you set the parameters depends on whic= h style of service you are invoking, rpc/literal or document/literal| wrapp= ed.</div><div><br></div><div>If you can send the WSDL I can take a look at = it.</div> <div><br></div><div>Thanks</div><div>Prakash<br><br><div class=3D"gmail_quo= te">On Sat, Oct 31, 2009 at 4:03 AM, Dinyo Haygarov <span dir=3D"ltr"><<= a href=3D"mailto:[email protected]">[email protected]</a>></span> wrot= e:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex;">Hello,<br><br>I was wondering if you could = help me with a problem I have in WSIF. I have the following WSDL of a webse= rvice:<span><span><pre> <?xml version=3D"1.0" encoding=3D"utf-8"?><br><br= ><soap12:Envelope xmlns:xsi=3D"<a href=3D"http://www.w3.org/2001/XM= LSchema-instance" target=3D"_blank">http://www.w3.org/2001/XMLSchema-instan= ce</a>" xmlns:xsd=3D"<a href=3D"http://www.w3.org/2001/XMLSchema"= target=3D"_blank">http://www.w3.org/2001/XMLSchema</a>" xmlns:soap12= =3D"<a href=3D"http://www.w3.org/2003/05/soap-envelope" target=3D"_bla= nk">http://www.w3.org/2003/05/soap-envelope</a>"><br> <br><br> <soap12:Body><br><br> <SetWebServiceConfig xmlns=3D&q= uot;<a href=3D"http://test/rim/bbapps/testcase/lib/stubs/boo" target=3D"_bl= ank">http://test/gor/apps/testcase/lib/stubs/boo</a>"</pre></span></sp= an><span><span><pre> <wsc><br><br> <ConnectionString><font>string</font></Conn= ectionString><br> <ServerURL><font>string</font></basServerU= RL><br> <ServerTimeout><font>int</font></basServerTimeout>= ;<br> <username><font>string</font></username><br><br> =A0<p= assword><font>string</font></password><br> <domain><font>= string</font></domain><br> <loginType><font>string</font><= ;/loginType><br> </wsc><br><span><span><pre></SetWebServiceConfig><br><br><br> = </soap12:Body><br></soap12:Envelope></pre></span></span></pre><= /span></span><br>So when I use setObjectPart(serverURL, "<a href=3D"ht= tp://www.someurl.com/" target=3D"_blank">www.someurl.com</a>") the sev= er doesn't accept it but rather wants to set that wsc xml tag first. <b= r> <br>Do you have an idea how to access i.e. set the wsc tag from WSIF?<br><b= r>Thanks,<br><font color=3D"#888888"><font color=3D"#888888">Dinyo</font> </font></blockquote></div><br></div> --0016e64cc4a8c42c600477427b9b--