cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trevor Paterson <>
Subject portnumbers in target namespaces
Date Wed, 25 Mar 2009 13:13:45 GMT

I am having problems generating client code from a WSDL, which I suspect may
be because the WSDL imports a schema which has a targetNamespace which
includes a port number.

the WSDL types:

    <xsd:import namespace=""
                        ="martxsd" />

the schema declaration:

targetNamespace="" version="1.0">

wsdl2java by default generates client code in the package

a SOAP request generated from client code generated using wsdl2java:

      <ns1:getRegistry xmlns:ns1="" />

Am I naïve in thinking that xmlns:ns1 should =
"" in order to  match the schema
namespace for the service?

Is the namespace in the SOAP request made on the fly from the package name
of the code? and therefore is the “:80” insurmountable?

Is there a way to set the namespaces generated?

Trevor Paterson, Roslin Institute 
View this message in context:
Sent from the cxf-user mailing list archive at

View raw message