axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ktzanet <ktza...@gmail.com>
Subject Problem in WSDL2java with eclipse code generator
Date Thu, 20 Sep 2007 10:57:33 GMT

Hi,
I am trying to create java code with eclipse code generator. I first created
the wsdl file with java2wsdl using the same plugin. When I click finish
though, I get the following message:

An error occured while completing process -java.lang.InterruptedException:
There are no parts for fault message:
{http://service.netmode.ntua.gr}Exception

Can someone help me?
Thank you

This is my wsdl:

<wsdl:definitions xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:xsd="http://service.netmode.ntua.gr/xsd"
xmlns:ns="http://service.netmode.ntua.gr"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://service.netmode.ntua.gr"><wsdl:types><xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://service.netmode.ntua.gr/xsd">
<xs:element name="ExceptionFault">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="Exception" nillable="true" type="xs:anyType" />
		</xs:sequence>
	</xs:complexType>
</xs:element>
<xs:element name="getLocation">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="id" nillable="true" type="xs:int" />
		</xs:sequence>
	</xs:complexType>
</xs:element>
<xs:element name="getLocationResponse">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="return" nillable="true" type="xs:string" />
		</xs:sequence>
	</xs:complexType>
</xs:element>
</xs:schema></wsdl:types><wsdl:message name="getLocationMessage"><wsdl:part
name="part1" element="xsd:getLocation" /></wsdl:message><wsdl:message
name="getLocationResponseMessage"><wsdl:part name="part1"
element="xsd:getLocationResponse" /></wsdl:message><wsdl:portType
name="TopologyServicePortType"><wsdl:operation
name="getLocation"><wsdl:input
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
wsaw:Action="urn:getLocation" message="ns:getLocationMessage" /><wsdl:output
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
message="ns:getLocationResponseMessage" wsaw:Action="urn:getLocation"
/><wsdl:fault message="ns:Exception" name="Exception"
/></wsdl:operation></wsdl:portType><wsdl:binding
name="TopologyServiceSOAP11Binding"
type="ns:TopologyServicePortType"><soap:binding
transport="http://schemas.xmlsoap.org/soap/http" style="document"
/><wsdl:operation name="getLocation"><soap:operation
soapAction="urn:getLocation" style="document" /><wsdl:input><soap:body
use="literal" /></wsdl:input><wsdl:output><soap:body use="literal"
/></wsdl:output><wsdl:fault name="Exception"><soap:body use="literal"
/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:binding
name="TopologyServiceSOAP12Binding"
type="ns:TopologyServicePortType"><soap12:binding
transport="http://schemas.xmlsoap.org/soap/http" style="document"
/><wsdl:operation name="getLocation"><soap12:operation
soapAction="urn:getLocation" style="document" /><wsdl:input><soap12:body
use="literal" /></wsdl:input><wsdl:output><soap12:body use="literal"
/></wsdl:output><wsdl:fault name="Exception"><soap12:body use="literal"
/></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service
name="TopologyService"><wsdl:port name="TopologyServiceSOAP11port"
binding="ns:TopologyServiceSOAP11Binding"><soap:address
location="http://localhost:8080/axis2/services/TopologyService"
/></wsdl:port><wsdl:port name="TopologyServiceSOAP12port"
binding="ns:TopologyServiceSOAP12Binding"><soap12:address
location="http://localhost:8080/axis2/services/TopologyService"
/></wsdl:port></wsdl:service></wsdl:definitions>
-- 
View this message in context: http://www.nabble.com/Problem-in-WSDL2java-with-eclipse-code-generator-tf4486812.html#a12794863
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message