-
1. Re: WSRP Create Producer
claprun May 25, 2006 11:35 AM (in response to sunman)What exactly are you trying to accomplish?
The producer is automatically set up when you deploy a portal instance. Assuming you're running a default configuration, you can access the WSDL file at:
http://localhost:8080/portal-wsrp/MarkupService?wsdl
You can acces the endpoint URLs at:
http://localhost:8080/portal-wsrp/ServiceDescriptionService
http://localhost:8080/portal-wsrp/MarkupService
http://localhost:8080/portal-wsrp/RegistrationService
http://localhost:8080/portal-wsrp/PortletManagementService -
2. Re: WSRP Create Producer
webskister May 30, 2006 2:19 PM (in response to sunman)I am also having troubles with the WSRP producer (jboss-portal-2.4.0-ALPHA). I can access the WSDL file via my browser which shows the endpoints as expected. I then tried pointing my WSRP consumer at the producer's WSDL and it is not able to get the Service Description from the WSDL. Are there any other configurations I need to make? The WSDL URL I used for my consumer to point to was...
http://localhost:8080/portal-wsrp/ServiceDescriptionService?wsdl -
3. Re: WSRP Create Producer
claprun May 30, 2006 3:12 PM (in response to sunman)Which consumer are you using? Do you see any error messages?
-
4. Re: WSRP Create Producer
webskister May 30, 2006 3:22 PM (in response to sunman)I tried with Weblogic 8.1. The error msg says, "Unable to get the Service Description for this WSDL URL. http://localhost:8080/portal-wsrp/ServiceDescriptionService?wsdl".
-
5. Re: WSRP Create Producer
webskister May 30, 2006 4:17 PM (in response to sunman)Also tried the "Running the WSRP Producer test suite". I get errors running #7..."sh build.sh producer-test".
Running org.jboss.portal.test.wsrp.v1.producer.ServiceDescriptionTestCase
[junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.031 sec
[junit] Testsuite: org.jboss.portal.test.wsrp.v1.producer.ServiceDescriptionTestCase
[junit] Tests run: 2, Failures: 2, Errors: 0, Time elapsed: 0.031 sec
[junit] Testcase: warning took 0 sec
[junit] FAILED
[junit] Exception in constructor: testGetServiceDescriptionNoRegistration (java.lang.reflect.UndeclaredThrowableException
[junit] at $Proxy1.getMBeanInfo(Unknown Source)
....
I understand this is the alpha release. I am just really interested any getting the producer to work correctly. -
6. Re: WSRP Create Producer
claprun May 30, 2006 4:39 PM (in response to sunman)Could you look at http://localhost:8080/jbossws/services and tell me what you see? It looks like the WSRP service is not properly deployed.
-
7. Re: WSRP Create Producer
webskister May 30, 2006 4:44 PM (in response to sunman)Registered Service Endpoints
ServiceEndpointID ServiceEndpointAddress
jboss.ws:di=portal-wsrp.war,port=WSRPPortletManagementService,service=WSRPService http://myhostname:8080/portal-wsrp/PortletManagementService?wsdl
jboss.ws:di=portal-wsrp.war,port=WSRPRegistrationService,service=WSRPService http://myhostname:8080/portal-wsrp/RegistrationService?wsdl
jboss.ws:di=portal-wsrp.war,port=WSRPServiceDescriptionService,service=WSRPService http://myhostname:8080/portal-wsrp/ServiceDescriptionService?wsdl
jboss.ws:di=portal-wsrp.war,port=WSRPMarkupService,service=WSRPService http://myhostname:8080/portal-wsrp/MarkupService?wsdl -
8. Re: WSRP Create Producer
claprun May 30, 2006 5:01 PM (in response to sunman)Apparently it is deployed. It's difficult to tell what's going on from only this much info.
-
9. Re: WSRP Create Producer
webskister Jun 7, 2006 5:37 PM (in response to sunman)I downloaded 2.4 BETA and tried accessing the WSRP producer again. I can see the WSDL via my browser @ http://localhost:8080/portal-wsrp/ServiceDescriptionService?wsdl. I then try to create a consumer in WebLogic by entering the above WSDL address when asked for the WSDL associated with the producer of remote portlets. When I hit retreieve it says it was Unable to get the Service Description for this WSDL URL. Am I missing a configuration step or is this all I need to do? Am I using the correct WSDL URL?
-
10. Re: WSRP Create Producer
webskister Jun 7, 2006 6:15 PM (in response to sunman)This might help. I will post while I investigate. When I attempt to access the WSDL mentioned before I get the following exception (trace omitted below, upon request) on my JBoss server....
15:09:46,256 ERROR [SOAPFaultExceptionHelper] SOAP request exception
java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
15:09:46,256 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message
java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
15:09:46,256 ERROR [AbstractServlet] Error processing web service request
javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
15:09:46,256 ERROR [[ServiceDescriptionService]] Servlet.service() for servlet ServiceDescriptionService threw exception
javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage -
11. Re: WSRP Create Producer
claprun Jun 8, 2006 10:18 AM (in response to sunman)Any chance you can send me privately the full stack trace? It's difficult to tell from just that...
-
12. Re: WSRP Create Producer
webskister Jun 8, 2006 1:44 PM (in response to sunman)Stacktrace sent via email. Thanks. Maybe I have a classpath issue? Seems to be a JAXRPC conflict.
-
13. Re: WSRP Create Producer
webskister Jun 8, 2006 4:35 PM (in response to sunman)I got the above error while starting the JBoss server within my JBoss IDE. I started via the cmd line and I did not receive these exceptions while retreiving the service descriptor from Weblogic. Seems like I have a classpath issue within my IDE. Now on to consumer side troubleshooting. Trying to WSRP the "Basic Portlet" now for an example. Troubleshooting the following error:
Error invoking portlet "Basic Portlet"
The source of this error is:
com.bea.wsrp.faults.TransportException: javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: Requested element {urn:bea:wsrp:ext:v1:types}LookAndFeelDescriptor is not allowed in this position in the sequence. -
14. Re: WSRP Create Producer
julien1 Jun 8, 2006 4:41 PM (in response to sunman)it means we need to put the special handler that removes the BEA extensions from request/response on the producer as well.