users@jax-rpc.java.net
JAX-RPC wscompile modeler error
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Thilo Frotscher <
tfrotscher_at_trustinternational.com
>
Date
: 15 Mar 2005 10:04:42 +0000
Hi,
I am using JWSDP 1.5 and have a problem with the wscompile tool.
The tool reports the following error message:
error: modeler error: model error: undeclared namespace prefix: ""
I start wscompile using the following command:
wscompile.sh -gen:client ReservationService.config
(-f:novalidation does not help)
The file ReservationService.config looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config
">
<wsdl
location="
http://localhost:7001/ws/services/ReservationService?wsdl
"
packageName="testPkg" />
</configuration>
The WSDL is attached to this email. What am I doing wrong?
Please help!
Thank you very much,
Thilo
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="
http://schemas.xmlsoap.org/wsdl/
"
xmlns:wsdlsoap="
http://schemas.xmlsoap.org/wsdl/soap/
"
xmlns:http="
http://schemas.xmlsoap.org/wsdl/http/
"
xmlns:xs="
http://www.w3.org/2001/XMLSchema
"
xmlns:ota="
http://www.opentravel.org/OTA/2003/05
"
xmlns:res="
http://www.trustinternational.com/xml/reservation/2005/3
"
xmlns:resServ="
http://www.trustinternational.com/xml/reservationService/2005/3
"
targetNamespace="
http://www.trustinternational.com/xml/reservationService/2005/3
">
<wsdl:types>
<xs:schema xmlns="
http://www.trustinternational.com/xml/reservationService/2005/3
"
xmlns:xs="
http://www.w3.org/2001/XMLSchema
"
xmlns:ota="
http://www.opentravel.org/OTA/2003/05
"
xmlns:res="
http://www.trustinternational.com/xml/reservation/2005/3
"
targetNamespace="
http://www.trustinternational.com/xml/reservationService/2005/3
"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:annotation>
<xs:documentation xml:lang="en">
This schema defines all valid XML documents for the Trust Voyager Reservation Service.
</xs:documentation>
</xs:annotation>
<xs:import namespace="
http://www.trustinternational.com/xml/reservation/2005/3
" schemaLocation="
http://www.trustinternational.com/xml/reservation/2005/3/reservation.xsd
"/>
<xs:import namespace="
http://www.opentravel.org/OTA/2003/05
" schemaLocation="
http://www.trustinternational.com/xml/OTA/2003/05/OTA_PingRQ.xsd
"/>
<xs:import namespace="
http://www.opentravel.org/OTA/2003/05
" schemaLocation="
http://www.trustinternational.com/xml/OTA/2003/05/OTA_PingRS.xsd
"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="uploadReservationRequest">
<wsdl:part element="res:Reservation" name="theReservation"/>
</wsdl:message>
<wsdl:message name="uploadReservationResponse">
<wsdl:part element="res:ReservationUploadConfirmation" name="uploadReservationReturn"/>
</wsdl:message>
<wsdl:message name="downloadReservationRequest">
<wsdl:part element="res:GetReservations" name="downloadRequest"/>
</wsdl:message>
<wsdl:message name="downloadReservationResponse">
<wsdl:part element="res:ReservationDownload" name="downloadReservationReturn"/>
</wsdl:message>
<wsdl:message name="pingRequest">
<wsdl:part element="ota:OTA_PingRQ" name="pingRequest"/>
</wsdl:message>
<wsdl:message name="pingResponse">
<wsdl:part element="ota:OTA_PingRS" name="pingResponse"/>
</wsdl:message>
<wsdl:portType name="ReservationServicePortType">
<wsdl:operation name="uploadReservation">
<wsdl:input message="resServ:uploadReservationRequest" name="uploadReservationRequest"/>
<wsdl:output message="resServ:uploadReservationResponse" name="uploadReservationResponse"/>
</wsdl:operation>
<wsdl:operation name="downloadReservation">
<wsdl:input message="resServ:downloadReservationRequest" name="downloadReservationRequest"/>
<wsdl:output message="resServ:downloadReservationResponse" name="downloadReservationResponse"/>
</wsdl:operation>
<wsdl:operation name="ping">
<wsdl:input message="resServ:pingRequest" name="pingRequest"/>
<wsdl:output message="resServ:pingResponse" name="pingResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ReservationServiceSoapBinding" type="resServ:ReservationServicePortType">
<wsdlsoap:binding style="document" transport="
http://schemas.xmlsoap.org/soap/http
"/>
<wsdl:operation name="uploadReservation">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="uploadReservationRequest">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:input>
<wsdl:output name="uploadReservationResponse">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="downloadReservation">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="downloadReservationRequest">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:input>
<wsdl:output name="downloadReservationResponse">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="ping">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="pingRequest">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:input>
<wsdl:output name="pingResponse">
<wsdlsoap:body namespace="
http://www.trustinternational.com/xml/reservationService/2005/3
" use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ReservationService">
<wsdl:port binding="resServ:ReservationServiceSoapBinding" name="ReservationService">
<wsdlsoap:address location="
http://localhost:7001/ws/services/ReservationService
"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
This message
: [
Message body
]
Next message
:
Frank: "WS JAXRPC hhelp"
Previous message
:
rel_haff_at_welho.com: "Processing response message in webservice"
Next in thread
:
Anne Thomas Manes: "Re: JAX-RPC wscompile modeler error"
Reply
:
Anne Thomas Manes: "Re: JAX-RPC wscompile modeler error"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]