on 12-16-2010 4:31 PM
Hello Experts,
I am trying to call a web service in bobj data services. A real time job has been scheduled and published as a web service. I want to consume this service in web dynpro java.
I tried both the methods the adaptive web services and depricated version. I also tried calling the url directly and with the metadata and execution destinations.
No matter what I do, I keep getting the following error.
Exception on execution of web service with WSDL URL 'http://XXXXX:28080/DataServices/servlet/webservices?ver=2.0&wsdl' with operation 'SERVICE_<NAME>' in interface 'Real-time_Services'
The call never reaches data services system. If I try to call the service from soapUI (web service testing tool) it works fine.
I am using SAP NW 7.0 SP22 .
Here is my code in dynpro to call the service.
AdaptiveModel mod = new AdaptiveModel();
Request_SERVICE_MDM_LOOKUP request = new Request_SERVICE_MDM_LOOKUP(mod);
Query1 query1 = new Query1(mod);
Response_SERVICE_MDM_LOOKUP response = new Response_SERVICE_MDM_LOOKUP(mod);
request.setQuery(query1);
request.setResponse(response);
List list = new ArrayList();
DefinitionsTypes_XsdSchema_1__XsdElement_1__XsdComplexType_Sequence1 element = new DefinitionsTypes_XsdSchema_1__XsdElement_1__XsdComplexType_Sequence1(mod);
element.setCustomer_Name(wdContext.currentContextElement().getCustomerName());
element.setZip_Code(wdContext.currentContextElement().getZipcode());
element.setAddr1("");
element.setAddr2("");
element.setCity("");
element.setCountry("");
element.setState("");
list.add(element);
query1.set$002fDefinitions$002fTypes$002fXsdSchema$005b1$005d$002fXsdElement$005b1$005d$002fXsdComplexType$0023Sequence1(list);
wdContext.nodeRequest_SERVICE_MDM_LOOKUP().bind(request);
wdContext.currentRequest_SERVICE_MDM_LOOKUPElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeQueryResponse().invalidate();
wdContext.nodeSequenceResponse().invalidate();
Please let me know if you have any pointers on how to solve this.
Thanks in advance
Praveen.
you should paste the detail error information
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.