cancel
Showing results for 
Search instead for 
Did you mean: 

Adaptive web service model import issue....

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Sorry,

Do you mean you can import the webservices as MODEL but can't use them?

Former Member
0 Kudos

Hi Jackson,

After import i see only 4 model classes . In my case it is GatData,GetDataResponse,Request_GetData and Respone_GetData. I am not able to see Emp type which is associated with web service.

Regards

Vasu

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Anagha,

If i use depreciated web services model , i am able to see objects (in my case emp class) after import and it is working fine for me . But if i use adaptive webservice model to import the classes , i am not able to see the emp class.

Regards

Vasu