cancel
Showing results for 
Search instead for 
Did you mean: 

JAVA WS Standalone Client is not able to understand WSDL

Former Member
0 Kudos

Hi,

I have a ABAP WS and I wanted to consume that WS from a standalone WS - Client, but the client generation tool of the NW Dev - Studio is not able to understand the WSDL - Document. When I use the WS test-tool it works. I also can consome the WS using Visual C#.

Any ideas ?

Please also have a look at the attached WSDL.

Thanks !!

Best Regards,

Frank

<?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="http://sap.com/scem/test" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:n0="urn:sap-com:document:sap:rfc:functions" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://sap.com/scem/test" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><xsd:schema targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns="urn:sap-com:document:sap:rfc:functions"><xsd:element name="ZFM_WS1_FB"><xsd:complexType><xsd:sequence><xsd:element name="SURNAME"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="ZFM_WS1_FB.Response"><xsd:complexType><xsd:sequence><xsd:element name="RET_SURNAME" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20"/></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:element></xsd:schema></wsdl:types><wsdl:message name="ZFM_WS1_FB"><wsdl:part name="parameters" element="n0:ZFM_WS1_FB"/></wsdl:message><wsdl:message name="ZFM_WS1_FB.Response"><wsdl:part name="parameters" element="n0:ZFM_WS1_FB.Response"/></wsdl:message><wsdl:portType name="Z_MYSIMPLE_WS1_NEW"><wsdl:operation name="ZFB_MARXT_INBOUND"><wsdl:input message="tns:ZFM_WS1_FB"/><wsdl:output message="tns:ZFM_WS1_FB.Response"/></wsdl:operation></wsdl:portType><wsdl:binding name="Z_MYSIMPLE_WS1_NEWSoapBinding" type="tns:Z_MYSIMPLE_WS1_NEW"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="ZFB_MARXT_INBOUND"><soap:operation soapAction=""/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="Z_MYSIMPLE_WS1_NEWService"><wsdl:port name="Z_MYSIMPLE_WS1_NEWSoapBinding" binding="tns:Z_MYSIMPLE_WS1_NEWSoapBinding"><soap:address location="http://uscia7s.wdf.sap.corp:50035/sap/bc/srt/xip/sap/Z_MYSIMPLE_WS1_NEW?sap-client=001"/></wsdl:port></wsdl:service></wsdl:definitions>

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I copied your WSDL to a file C:\test.wsdl

Created a standalone WS - Client project

Then I did a new / Client proxy definition and selected

Local File system or URL . It works.

I have NWDS 700

Regards

Bhanu