Skip to Content
author's profile photo Former Member
Former Member

Do they work - XI WebService and WebDynpro Adaptive Webservice Model?

Hello Everyone,

I am trying to consume a XI WebService using new WebDynpro Adaptive WebService Model. It results in an error. I even tried to use the Currency Converter WebService http://www.webservicex.com/CurrencyConvertor.asmx?WSDL but it also gives me similar errors(attached at the end).

The error comes at the line in my code when I am creating the model Instance of the WebService Node.

I am using logical destinations. I have tested these Webservices successfully using the .Net Applications.

Has anyone tried the scenario XI WS + WebDynpro Adaptive WebService Model successfully.

If anyone can confirm it works and shed some light on the same it will be great .

Thanks & Regards,

Shubham

-


Error :

com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'DEFAULT_WS_METADATA_DEST' and WS interface 'SendPOItems_OUT'. One possible reason is that the metadata destination 'DEFAULT_WS_METADATA_DEST' has not been properly configured; check configuration.

at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:439)

at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:371)

.

.

.

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Caused by: com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://appserver07:8010/sap/xi/engine?type=entry&version=3.0&Sender.Service=WS_BUSS&Interface=http%3A%2F%2Fappservertech.com%2FAPPSERVER_POC%2FGetPOitem%5ESendPOItems_OUT. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header>

</SOAP:Header>

<SOAP:Body>

SOAP:Client Empty" target="_blank">http://schemas.xmlsoap.org/soap/envelope/"> SOAP:Client Empty HTTP request received http://sap.com/xi/XI/Message/30 xmlns:SAP=" http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"> XIProtocol EMPTY_HTTP_REQUEST_RECEIVED Empty HTTP query received; message processing not possible

</SAP:Stack></SAP:Error></detail></SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>

at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:219)

at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:119)

at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)

at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)

at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)

at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:111)

at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:428)

... 46 more

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 10:39 AM

    Hello All,

    I was reading more documentation on this issue and found the following paragraph in the SDN Article:

    Using the Web Service Adaptive Model for JAVA WebDynpro

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7

    This document talks about empty desitnations for Web Service provider not offering Web Service Lookup via WSIL.Since XI does not provide

    the same I tried using the empty destinations, but then also its not working.

    Can anyone please explain what is WSIL and why does this new WS Adaptive Model requires the provider to support WSIL.

    Thanks & Regards,

    Shubham

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ok got mine figured out. If you look in the dump the first line before the trace I had the problem idenfitied "One possible reason is that the metadata destination 'XXXX' has not been properly configured" I had my basis team send me screen shots along with the exact URL entered in each proxy. They had two of them (I have four of them) switched.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.