axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter <>
Subject Axis1.4 wsdl2java Typ problem
Date Wed, 12 Sep 2007 11:05:40 GMT
hi group,

i got a problem wenn i will convert following snip of the xsd into java types 
with wsdl2java:

	<xs:complexType name="ErrorTyp">
		<xs:sequence minOccurs="0" maxOccurs="unbounded">
			<xs:element name="UserID">
					<xs:restriction base="xs:token">
						<xs:minLength value="9" />
						<xs:maxLength value="9" />
			<xs:element name="FaultCode" type="xs:string" />

first of all I will explain the request:

I update a number of different user (UserID) with a lot of data with one 
request, if something goes wrong an element with the UserId and the Faultcode 
comes back as the ErrorTyp. if mor then one update requests goes wrong I 
should get back always a pair of UserID and FaultCode in ErrorTyp.

What I get back look like this:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="" 
<UserUpdateResponse xmlns="">
<ErrorTyp xmlns="ns://">

that is correct, but in my client java classes i only get the last UserID back 
an nothing else.

I can't rewrite the XSD or the WSDL file becauces those files files comes from 
a exsiting and already life working service.

is there a way to alter class definition of the generatet ErrorTyp class to 
handle all the failed update requests?

best regards Max

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message