users@jax-ws.java.net
JAXWS 2.1 - problem with soap 1.2 sample (fromjava_soap12.server)
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Henri Gomez <
henri.gomez_at_gmail.com
>
Date
: Fri, 2 Mar 2007 11:07:45 +0100
Hi to all,
I tried to move some of my services from SOAP 1.1 to 1.2 and got problem.
I tried with the provided sample, fromjava_soap12, but the problem is the same :
SOAPUI 1.7 complains about 'Missing importer' :
Fri Mar 02 11:00:37 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Getting wsdl component from
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Getting wsdl component from
[
http://localhost:18501/soa-samples/addnumbers?xsd=1
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Loading definition from cache
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning baseInputSource
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning latest import URI
[
http://localhost:18501/soa-samples/addnumbers?xsd=1
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Loaded definition: ok
Fri Mar 02 11:00:38 CET 2007:INFO:Loading schema types from
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:INFO:Getting schema
http://localhost:18501/soa-samples/addnumbers?wsdl
Fri Mar 02 11:00:38 CET 2007:INFO:Getting schema
http://localhost:18501/soa-samples/addnumbers?xsd=1
Fri Mar 02 11:00:38 CET 2007:INFO:schema for
[
http://server.fromjava_soap12/
] contained [{}] namespaces
Fri Mar 02 11:00:38 CET 2007:INFO:schema for [] contained [{}] namespaces
Fri Mar 02 11:00:38 CET 2007:INFO:Finding importer for
{
http://server.fromjava_soap12/}AddNumbersImplPortBinding
Fri Mar 02 11:00:38 CET 2007:INFO:Finding importer for
{
http://server.fromjava_soap12/}AddNumbersImplPortBinding
Fri Mar 02 11:00:38 CET 2007:INFO:Missing importer for
{
http://server.fromjava_soap12/}AddNumbersImplPortBinding
Fri Mar 02 11:00:38 CET 2007:INFO:Missing importer for
{
http://server.fromjava_soap12/}AddNumbersImplPortBinding
Fri Mar 02 11:00:37 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Getting wsdl component from
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:37 CET 2007:DEBUG:Getting wsdl component from
[
http://localhost:18501/soa-samples/addnumbers?xsd=1
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Loading definition from cache
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning baseInputSource
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning baseURI
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Returning latest import URI
[
http://localhost:18501/soa-samples/addnumbers?xsd=1
]
Fri Mar 02 11:00:38 CET 2007:DEBUG:Loaded definition: ok
Fri Mar 02 11:00:38 CET 2007:INFO:Loading schema types from
[
http://localhost:18501/soa-samples/addnumbers?wsdl
]
Fri Mar 02 11:00:38 CET 2007:INFO:Getting schema
http://localhost:18501/soa-samples/addnumbers?wsdl
Fri Mar 02 11:00:38 CET 2007:INFO:Getting schema
http://localhost:18501/soa-samples/addnumbers?xsd=1
Fri Mar 02 11:00:38 CET 2007:INFO:schema for
[
http://server.fromjava_soap12/
] contained [{}] namespaces
Fri Mar 02 11:00:38 CET 2007:INFO:schema for [] contained [{}] namespaces
As such SOAPUI cant get the methods ;(
The generated WSDL is :
<?xml version="1.0" encoding="utf-8" ?>
<definitions xmlns:soap12="
http://schemas.xmlsoap.org/wsdl/soap12/
"
xmlns:tns="
http://server.fromjava_soap12/
"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema
"
xmlns="
http://schemas.xmlsoap.org/wsdl/
"
targetNamespace="
http://server.fromjava_soap12/
"
name="AddNumbersImplService">
<types>
<xsd:schema>
<xsd:import namespace="
http://server.fromjava_soap12/
"
schemaLocation="
http://localhost:18501/soa-samples/addnumbers?xsd=1
"
/>
</xsd:schema>
</types>
<message name="addNumbers">
<part name="parameters" element="tns:addNumbers" />
</message>
<message name="addNumbersResponse">
<part name="parameters" element="tns:addNumbersResponse" />
</message>
<message name="AddNumbersException">
<part name="fault" element="tns:AddNumbersException" />
</message>
<portType name="AddNumbersImpl">
<operation name="addNumbers">
<input message="tns:addNumbers" />
<output message="tns:addNumbersResponse" />
<fault message="tns:AddNumbersException" name="AddNumbersException" />
</operation>
</portType>
<binding name="AddNumbersImplPortBinding" type="tns:AddNumbersImpl">
<soap12:binding
transport="
http://www.w3.org/2003/05/soap/bindings/HTTP/
"
style="document" />
<operation name="addNumbers">
<soap12:operation soapAction="" />
<input>
<soap12:body use="literal" />
</input>
<output>
<soap12:body use="literal" />
</output>
<fault name="AddNumbersException">
<soap12:fault name="AddNumbersException" use="literal" />
</fault>
</operation>
</binding>
<service name="AddNumbersImplService">
<port name="AddNumbersImplPort" binding="tns:AddNumbersImplPortBinding">
<soap12:address location="
http://localhost:18501/soa-samples/addnumbers
" />
</port>
</service>
</definitions>
Thanks for your help
This message
: [
Message body
]
Next message
:
Prashant Jamkhedkar: "RE: Issue with usage of JAXWS 2.1/Tomcat 5.5/Netbeans 5.5"
Previous message
:
Sekhar Vajjhala: "Re: Maybe a feature request - what do you think?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]