Hi Pallewela,
I am referring to "OperationClient" & "ServiceClient"(methods) for
webservice invocation.
I am sending the SOAP message that i have to send it to our .Net based
webservice. Please check below, and let me know whether i can use the
"ServiceClient" to access the webservice.
<s11:Envelope
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
>
<s11:Header>
<wsse:Security>
<wsse:UsernameToken
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
>
<wsse:Username>Bert</wsse:Username>
<wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Ernie</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<wsa:Action>
http://schemas.ggf.org/bes/2006/08/bes-factory/CreateActivity
</wsa:Action>
<wsa:To s11:mustUnderstand=1>
http://www.bes.org/BESFactory
</wsa:To>
</s11:Header>
<s11:Body wsu:Id="TheBody">
<bes-factory:CreateActivity>
<bes-factory:ActivityDocument>
<jsdl:JobDefinition>
{Any valid JSDL document}
</jsdl:JobDefiniton>
</bes-factory:ActivityDocument>
</bes-factory:CreateActivity>
</s11:Body>
</s11:Envelope>
Thanks & Regards,
Murali Krishna K
-----Original Message-----
From: Dumindu Pallewela
To: Apache AXIS C User List
Sent: 9/24/07 5:13 PM
Subject: Re: How to develop a HTTPs-based webservice client
Murali Konnipati wrote:
> Hi Pallewela,
>
> Thank you very much for the reply.
> I have a small doubt, I need to modify the SOAP envelope and
send
> some custom messages in the SOAP request. For this, i am planning to
use
> the OperationClient.
This should not be a problem for the HTTPS transport. As Dinesh
pointed out earlier, transport is independent from the client api.
> my webservice. Please check the same and let me know, which method is
> suitable for the webservice invocation.
What are these *methods* that you are referring to?
BTW, you can try it out and see... it's merely a minor change that
you have to do to your client ;)
Regards,
-Dumindu.
<<SMIME.txt>>