I'm having some trouble setting the java package for the generated source files. I'm setting the maven.wsdl2java.namespaceMappings and I've tried the following settings in my project.properties file:
#maven.axis.namespaceMappings=getCustSvcsInfo_Service=net.qpass.nextel.c ommon.eai #maven.axis.namespaceMappings=getCustSvcsInfo_Service=net.qpass.nextel.c ommon.eai.getCustSvcsInfo_Service #maven.axis.namespaceMappings=holders=net.qpass.nextel.common.eai.holder s #maven.axis.namespaceMappings=getCustSvcsInfo_Service_pkg=net.qpass.next el.common.eai.holders #maven.wsdl2java.namespaceMappings=holders=net.qpass.nextel.common.eai.h olders #maven.wsdl2java.namespaceMappings=holders=net.qpass.nextel.common.eai.h olders #maven.wsdl2java.namespaceMappings=getCustSvcsInfo_Service=net.qpass.nex tel.common.eai #maven.wsdl2java.namespaceMappings=getCustSvcsInfo_Service_pkg=net.qpass .nextel.common.eai.holders #maven.wsdl2java.namespaceMappings=*=net.qpass.nextel.common.eai.holders #maven.wsdl2java.namespaceMappings=getCustSvcsInfo_Service=net.qpass.nex tel.common.eai.getCustSvcsInfo_Service maven.wsdl2java.namespaceMappings=http://schemas.xmlsoap.org/wsdl/getCus tSvcsInfo_Service=net.qpass.nextel.common.eai But it keeps using the java package name 'getCustSvcsInfo_Service_pkg'. Any idea why this isn't working? Here's what the wsdl looks like: <?xml version="1.0"?> <!-- Final Phase II EAI Service definition, submitted by Qpass, Inc. to Nextel, Inc. 3/27/03 --> <definitions name="getCustSvcsInfo_Service" targetNamespace="getCustSvcsInfo_Service" xmlns:tns="getCustSvcsInfo_Service" xmlns:typens="getCustSvcsInfo_Service" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/"> <wsdl:import namespace="getCustSvcsInfo_Service" location="getCustSvcsInfo_Service.xsd"/> <wsdl:message name="getCustSvcsInfoMsg"> <wsdl:part name="ApplRef" type="xsd:string"/> <wsdl:part name="CustId" type="typens:SOAP_getCustSvcs_Request_CustId"/> <wsdl:part name="ReqType" type="typens:SOAP_getCustSvcs_Request_ReqType"/> </wsdl:message> <wsdl:message name="getCustSvcsInfoResponseMsg"> <wsdl:part name="ApplRef" type="xsd:string"/> <wsdl:part name="MemberId" type="xsd:string"/> <wsdl:part name="Authenticated" type="typens:OptionalBoolean"/> <wsdl:part name="PTN" type="xsd:string"/> <wsdl:part name="BAN" type="xsd:string"/> <wsdl:part name="AcctStatus" type="xsd:string"/> <wsdl:part name="EmailAddr" type="xsd:string"/> <wsdl:part name="PTNAcctName" type="xsd:string"/> <wsdl:part name="UPSubId" type="xsd:string"/> <wsdl:part name="CompanyInd" type="xsd:string"/> <wsdl:part name="Authorized" type="typens:OptionalBoolean"/> <wsdl:part name="CredResult" type="typens:OptionalBoolean"/> <wsdl:part name="CredResultReason" type="xsd:string"/> <wsdl:part name="CredResultText" type="xsd:string"/> <wsdl:part name="PayOption" type="typens:ArrayOfSOAP_getCustSvcs_Response_PayOptions"/> <wsdl:part name="ManagedAccounts" type="typens:ArrayOfSOAP_getCustSvcs_Response_ManagedAccts"/> </wsdl:message> <wsdl:message name="getCustSvcsFault"> <wsdl:part name="ResponseFault" element="typens:SOAP_getCustSvcs_Fault"/> </wsdl:message> <wsdl:portType name="getCustSvcsInfo_ServicePortType"> <wsdl:operation name="getCustSvcsInfo"> <wsdl:input message="tns:getCustSvcsInfoMsg"/> <wsdl:output message="tns:getCustSvcsInfoResponseMsg"/> <wsdl:fault message="tns:getCustSvcsFault" name="getCustSvcsInfoFault"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="getCustSvcsInfo_ServiceBinding" type="tns:getCustSvcsInfo_ServicePortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="getCustSvcsInfo"> <soap:operation soapAction="getCustSvcsInfo"/> <wsdl:input> <soap:body use="literal" namespace="getCustSvcsInfo_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </wsdl:input> <wsdl:output> <soap:body use="literal" namespace="getCustSvcsInfo_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </wsdl:output> <wsdl:fault name="getCustSvcsInfoFault"> <soap:fault use="literal" name="getCustSvcsInfoFault" namespace="getCustSvcsInfo_Service" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <service name="getCustSvcsInfo_Service"> <port name="getCustSvcsInfo_ServicePort" binding="tns:getCustSvcsInfo_ServiceBinding"> <soap:address location="http://nhqsnbso5.nextel.com/IPB/servlet/messagerouter"/> </port> </service> </definitions>
