On 8/27/10 6:27 AM, Strickstrock, Frank wrote:
Hi,
I am trying to connect a Jaxws Client to a Microsoft UDDI. As the
server does not provide the WSDL I tried the packaged files in
"uddi-ws-3.0.3-sources.jar"
When trying to initialize the service and port I get following error msg:
_org.apache.juddi.v3.client.transport.TransportException_:
{urn:uddi-org:v3_service}UDDI_Inquiry_Port is not a valid service.
Valid services are: {urn:uddi-org:v3_service}UDDI_Service
at
org.apache.juddi.v3.client.transport.JAXWSTransport.getUDDIInquiryService(_JAXWSTransport.java:86_)
at
org.apache.juddi.v3.client.transport.Transport.getUDDIInquiryService(_Transport.java:40_)
at juddi.HalloWorld.<init>(_HalloWorld.java:42_)
at juddi.HalloWorld.main(_HalloWorld.java:208_)
Caused by: _javax.xml.ws.WebServiceException_:
{urn:uddi-org:v3_service}UDDI_Inquiry_Port is not a valid service.
Valid services are: {urn:uddi-org:v3_service}UDDI_Service
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>(Unknown Source)
at javax.xml.ws.Service.create(Unknown Source)
at
org.apache.juddi.v3.client.transport.JAXWSTransport.getUDDIInquiryService(_JAXWSTransport.java:83_)
... 3 more
While searching at the internet I found a page with a simialre issue.
https://jira.jboss.org/browse/SOA-1922
There one person states:
Kevin Conner
<https://jira.jboss.org/secure/ViewProfile.jspa?name=kevin.conner%40jboss.com>
added a comment - 06/Feb/10 03:33 AM
Has to rejig all the WSDL to get the juddi uddi-tck tests to read, the
shipped wsdl *does not appear* to be correct.
To overcome the problem, I extracted and manipulated the_
JAXWSTransport class _plus the WSDL to match the correct namespaces.
Actually I got it running now ... but I don't like this way.
Can you please advice ?
Thanks,
Frank.
Hi Frank,
Can you explain what you had to change to make it work?
Thx,
--Kurt