on 02-17-2006 4:45 AM
Hi,
I have created a Webservice model using WebDynpro to which I need to pass a SOAP request.
Can anybody tell me how to pass a SOAP object to my WS model as a request over the SOAP connection.
SOAPConnectionFactory soapConnectionFactory =
SOAPConnectionFactory.newInstance();
SOAPConnection connection =
soapConnectionFactory.createConnection() SOAPFactory soapFactory =
SOAPFactory.newInstance();
MessageFactory factory =
MessageFactory.newInstance();
SOAPMessage message = factory.createMessage();
I guess the above code would create the SOAP message for me...
Can someone please help me out?
- Ashwini.
Hi Valery,
I got your point, but my requirement is to transmit a SOAP message, also use a WS model. So in webdynpro is there a way by which I can extract the elements , generate the SOAP message and then call the execute() -
But here again I realised that I cannot pass any parameters to the execute().
Would like to know your thoughts on this..
-Ashwini.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ashwini,
If you mean that you have created WebService Model using WebDynpro wizardm then why you ever need to operate on such low (transport) level? Just use generated *_Request classes...
Valery Silaev
EPAM Systems
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.