cancel
Showing results for 
Search instead for 
Did you mean: 

WSRP Error - SAP Portal Producer to Non-SAP Consumer

Former Member
0 Kudos

I'm trying to use WSRP to communicate from consumer (JBoss Portal) to producer (SAP Portal). I'm running both SAP Portal (Netweaver 7.0.14) and JBoss Portal on the same machine (Windows). I followed all the instructions located here (http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/28dc9b0b0c0b18e10000000a1553f6/frameset.htm) in the section Workflow for Netweaver Producers. In JBoss I set the WSDL URL to http://localhost:50000/irj/servlet/prt/portal/prtroot/com.sap.portal.wsrp.coreproducer.WsdlGenerator. The error I get in JBoss portal is:

Problem getting service description for producer SAP_PORTAL, please see the logs for more information. Cause:org.jboss.ws.core.binding.BindingException: org.jboss.ws.core.jaxrpc.binding.jbossxb.UnmarshalException: Failed to parse source: No namespace URI registered for prefix: prt0

Anyone have any ideas of what I'm doing wrong?

Thanks,

Scott

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

The XML below is the WSRP response from SAP Portal to a getServiceDescription request from JBoss Portal:

<?xml version="1.0" encoding="utf-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<ns1:getServiceDescriptionResponse xmlns:ns1="urn:oasis:names:tc:wsrp:v1:types">

<ns1:requiresRegistration>true</ns1:requiresRegistration>

<ns1:requiresInitCookie>perUser</ns1:requiresInitCookie>

<ns1:registrationPropertyDescription>

<ns1:propertyDescriptions name="producer_allocated_username" type="prt0:QName" />

<ns1:propertyDescriptions name="producer_allocated_password" type="prt0:QName" />

</ns1:registrationPropertyDescription>

</ns1:getServiceDescriptionResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Based on the error (Failed to parse source: No namespace URI registered for prefix: prt0), it appears the response is missing an xmlns definition for prt0 and is a bug in SAP Portal WSRP.

Former Member
0 Kudos

Thanks for the reply Jana. However, I'm still getting the error. I had found an SAP Note that's possibly related (Note #1041528), so I may try installing that.

Scott

jana_richter
Active Participant
0 Kudos

Hi Scott,

just as an idea: it might make sense to use the full qualified name of your server instead of using "localhost" - at least it might be worth a try.

Best regards

Jana