on 02-04-2009 12:49 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.