on 03-27-2009 6:19 AM
Hi,
I have created web service from EJB that returns array list of object type of some class(say emp) . I am able to consume web service from web dynpro if i use the web service model . I am able to see Emp classs, But when i try to consume the same web service through adaptive web service model, i am not getting type "emp" associated with this model .
Below is web service model definition and WSDL url
ArrayList getData()
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Generated by WSDLDefinitionsParser
-->
- <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="testwsWsd" targetNamespace="urn:testwsWsd" xmlns:bns0="urn:testwsWsd/Vasu/rpc" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<wsdl:import location="http://<host>:<port>/testws/Vasu/bindings?wsdl&style=rpc" namespace="urn:testwsWsd/Vasu/rpc" />
- <wsdl:service name="testws">
- <wsdl:port name="VasuPort_Rpc" binding="bns0:VasuBinding">
<soap:address location="http://<host>:<port>/testws/Vasu?style=rpc" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Thanks in advance,
Vasu
Hi Vasu,
Refer wiki https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq-Models-AdaptiveWebService
Migration from WS to Adaptive WS https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f07de95b-d81c-2a10-3daf-96172e84...
There are other associated links at the end on wiki page which may be helpful.
Kind Regards,
Nitin
Edited by: Nitin Jain on Mar 27, 2009 8:06 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sorry,
Do you mean you can import the webservices as MODEL but can't use them?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Note that there are limitations of the Adaptive WS Model with respect to the usage of complex types.
Is it not possible for you to continue with the webservice model itself if that is working fine for you?
Which release of NW and SP are you on? Here is a link from CE library on the adaptive webservices model. It states some restrictions. Do have a look:
http://help.sap.com/saphelp_nwce10/helpdata/en/44/7d207cbbf75918e10000000a1553f7/frameset.htm
Regards,
Anagha
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
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.