Hide Forgot
Steps to Reproduce: Run the jUDDI sample app - see attached .zip file. project_key: SOA The problem first reported in https://issues.jboss.org/browse/SOA-2425 and resolved for 5.1 GA is back in 5.2 Dev2. org.apache.juddi.v3.client.transport.TransportException: {urn:uddi-org:v3_service}UDDI_Security_Port is not a valid service. Valid services are: {urn:uddi-org:v3_service}UDDISecurityService publish at org.apache.juddi.v3.client.transport.JAXWSTransport.getUDDISecurityService(JAXWSTransport.java:104) at org.apache.juddi.v3.client.transport.Transport.getUDDISecurityService(Transport.java:43) at org.apache.juddi.example.publish.SimplePublish.<init>(SimplePublish.java:43) at org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:122) Caused by: javax.xml.ws.WebServiceException: {urn:uddi-org:v3_service}UDDI_Security_Port is not a valid service. Valid services are: {urn:uddi-org:v3_service}UDDISecurityService at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:230) at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:175) at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104) at javax.xml.ws.Service.<init>(Service.java:76) at javax.xml.ws.Service.create(Service.java:700) at org.apache.juddi.v3.client.transport.JAXWSTransport.getUDDISecurityService(JAXWSTransport.java:101) ... 3 more java.lang.NullPointerException at org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:62) at org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:123)
Attachment: Added: simple-publish.zip
Link: Added: This issue is related to SOA-2425
This is different from SOA-2425 as we are now using the jUDDI webservice endpoints and not the ESB provided ones. It looks like we may have to reintroduce our endpoints.
Attachment: Added: simple_publish-fixed.zip
Works on dev2. Two changes : - in the pom.xml, change the juddi version from 3.0.4 to 3.1.0 - in the uddi.xml, change the endpoints to match what jbossws reports (for example, http://127.0.0.1:8080/juddiv3/services/inquiry rather than http://127.0.0.1:8080/juddiv3/services/inquiry?wsdl) I also the maven exec plugin into the test to make it easier to run (mvn exec:exec).
The fixes above went into the simple_publish test (uploaded a simple_publish-fixed.zip with the changes).