cancel
Showing results for 
Search instead for 
Did you mean: 

When I publish the WSDL endpoint to Service Registry, I got the error.

JohnPark
Explorer
0 Kudos

[Situation]

I developed CAF application for web service and deployed it into CE server.

After getting the WSDL URL from CE server, I try to publish into PI server. absolutely PI servier is separated CE server.

Under Error Message is from Service Registry of PI Server.

The message said that "can not load WSDL due to "WSDL 'options' can not have child 'PolicyReference'".

[Error Message]

com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: null detail message:

com.sap.esi.uddi.sr.impl.uddi.wsdl.validation.ValidationException: Cannot load WSDL due to " WSDL 'option' can not have child 'PolicyReference' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !".

Check that the specified WSDL URL "http://abc:50000/CRMSalesOrderManagement_In/CRMSalesOrderManagement_InBeanImpl?wsdl&mode=ws_policy" points to WS-I Basic Profile 1.1 compliant WSDL Definitions file

[WSDL Contents]

- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.sap.com/caf/crmsalesorder_appl/modeled/CRMSalesOrderManagement_In" xmlns:b0="http://www.sap.com/caf/crmsalesorder_appl/modeled/CRMSalesOrderManagement_In">

<import namespace="http://www.sap.com/caf/crmsalesorder_appl/modeled/CRMSalesOrderManagement_In" location="http://abc:50000/CRMSalesOrderManagement_In/CRMSalesOrderManagement_InBeanImpl?wsdl=binding&mode=ws_policy" />

- <service name="CRMSalesOrderManagement_In">

- <port name="CRMSalesOrderManagement_InBindingPort" binding="b0:CRMSalesOrderManagement_InBinding">

<address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://abc:50000/CRMSalesOrderManagement_In/CRMSalesOrderManagement_InBeanImpl" />

</port>

</service>

</definitions>

[Ask to Everyone]

Where is the configuration in NWA for fixed error?

Regards, John.

Edited by: Jeong Hwan Park on Sep 14, 2009 10:29 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer the solution mentioned by Antony in below discussion

Thanks

Swarup

Answers (0)