setObjectPart for a specific WSDL

Dinyo Haygarov <[email protected]> Sat, 31 Oct 2009 12:03:10 +0100
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
--000e0cd695260989120477391739
Content-Type: text/plain; charset=ISO-8859-1

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

--000e0cd695260989120477391739
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

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 webservice:<span><span><pre>&lt;?xml =
version=3D&quot;1.0&quot; encoding=3D&quot;utf-8&quot;?&gt;<br><br>&lt;soap=
12:Envelope xmlns:xsi=3D&quot;<a href=3D"http://www.w3.org/2001/XMLSchema-i=
nstance" target=3D"_blank">http://www.w3.org/2001/XMLSchema-instance</a>&qu=
ot; 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"_blank">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">Dinyo</font>

--000e0cd695260989120477391739--