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">&lt;<=
a href=3D"mailto:[email protected]">[email protected]</a>&gt;</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>
&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;utf-8&quot;?&gt;<br><br=
>&lt;soap12:Envelope xmlns:xsi=3D&quot;<a href=3D"http://www.w3.org/2001/XM=
LSchema-instance" target=3D"_blank">http://www.w3.org/2001/XMLSchema-instan=
ce</a>&quot; xmlns:xsd=3D&quot;<a href=3D"http://www.w3.org/2001/XMLSchema"=
 target=3D"_blank">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:soap12=
=3D&quot;<a href=3D"http://www.w3.org/2003/05/soap-envelope" target=3D"_bla=
nk">http://www.w3.org/2003/05/soap-envelope</a>&quot;&gt;<br>

<br><br>  &lt;soap12:Body&gt;<br><br>    &lt;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>&quot;</pre></span></sp=
an><span><span><pre>
&lt;wsc&gt;<br><br>    &lt;ConnectionString&gt;<font>string</font>&lt;/Conn=
ectionString&gt;<br>    &lt;ServerURL&gt;<font>string</font>&lt;/basServerU=
RL&gt;<br>    &lt;ServerTimeout&gt;<font>int</font>&lt;/basServerTimeout&gt=
;<br>

    &lt;username&gt;<font>string</font>&lt;/username&gt;<br><br>   =A0&lt;p=
assword&gt;<font>string</font>&lt;/password&gt;<br>    &lt;domain&gt;<font>=
string</font>&lt;/domain&gt;<br>    &lt;loginType&gt;<font>string</font>&lt=
;/loginType&gt;<br>

&lt;/wsc&gt;<br><span><span><pre>&lt;/SetWebServiceConfig&gt;<br><br><br>  =
&lt;/soap12:Body&gt;<br>&lt;/soap12:Envelope&gt;</pre></span></span></pre><=
/span></span><br>So when I use setObjectPart(serverURL, &quot;<a href=3D"ht=
tp://www.someurl.com/" target=3D"_blank">www.someurl.com</a>&quot;) the sev=
er doesn&#39;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--