cancel
Showing results for 
Search instead for 
Did you mean: 

Import External Web Service

Former Member
0 Kudos

Hi.experts:

I want to import Java Web Service into SAP,but when I create Cosumer Proxy,error occurs:

Incorrect value: Unknown Namespace http://sql.java

Exception of class CX_SLIB

I had done Web Service during ABAP Stacks,no successful Java WS used.

Can some one help me?

Best Regards

Martin Xie

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you specify where is this namespace used in WSDL. Please post part of WSDL here to help you better.

Regards,

Gourav

Former Member
0 Kudos

- <wsdl:types>

- <schema elementFormDefault="qualified" targetNamespace="http://javabean/newcredit/basicinfo/GetExchangeRate" xmlns="http://www.w3.org/2001/XMLSchema">

<import namespace="http://database.function.javabean" />

<import namespace="http://sql.java" />

<element name="moneyId" type="xsd:string" />

<element name="moneyId2" type="xsd:string" />

<element name="effectDate" type="xsd:string" />

<element name="getRateReturn" type="xsd:string" />

<element name="con" type="xsd:anyType" />

<element name="moneyId1" type="xsd:string" />

<element name="moneyId3" type="xsd:string" />

<element name="effectDate1" type="xsd:string" />

<element name="getRateReturn1" type="xsd:string" />

<element name="con1" />

<element name="moneyId4" type="xsd:string" />

<element name="moneyId5" type="xsd:string" />

<element name="transferDate" type="xsd:string" />

<element name="getCreditExchangeRateDailyReturn" type="xsd:string" />

<element name="fault" type="tns2:DbException" />

<element name="moneyId6" type="xsd:string" />

<element name="moneyId7" type="xsd:string" />

<element name="transferDate1" type="xsd:string" />

<element name="getCreditExchangeRateDailyReturn1" type="xsd:string" />

</schema>

- <schema elementFormDefault="qualified" targetNamespace="http://database.function.javabean" xmlns="http://www.w3.org/2001/XMLSchema">

<import namespace="http://sql.java" />

- <complexType name="DbException">

<sequence />

</complexType>

</schema>

</wsdl:types>

Former Member
0 Kudos

Hi,

I am unable to make sense of this thing, if you don't mind I want to see full wsdl and want to see error by myself. It is possible that wsdl is not correctly generated and it is also possible that there are some bugs from SAP side.

Only full investigation can throw some light on your issue.

Regards,

Gourav