axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valerly Provalov" <vprova...@five9.com>
Subject RE: Axis2 problem with invoking methodes through GET requests
Date Tue, 10 Feb 2009 11:51:23 GMT
Sure,

<xs:schema attributeFormDefault="qualified"
elementFormDefault="qualified"
targetNamespace="http://blabla.blabla.com">
	...
	...
<xs:element name="makeCall">
	<xs:complexType>
		<xs:sequence>
			<xs:element name="param0" type="xs:string"/>
			<xs:element name="param1" type="xs:long"/>
			<xs:element name="param2" type="xs:boolean"/>
		</xs:sequence>
	</xs:complexType>
</xs:element>
	...
	...
 
And operation is defined as: 

<wsdl:operation name="makeCall">
	<wsdl:input message="ns:makeCallRequest"
wsaw:Action="urn:makeCall"/>
	<wsdl:output message="ns:makeCallResponse"
wsaw:Action="urn:makeCallResponse"/>
	<wsdl:fault message="ns:AgentBridgeException"
name="AgentBridgeException" wsaw:Action="urn:makeCallException"/>
</wsdl:operation> 

<wsdl:message name="makeCallRequest">
	<wsdl:part name="parameters" element="ns:makeCall"/>
</wsdl:message>
________________________________________
From: keith chapman [mailto:keithgchapman@gmail.com] 
Sent: Tuesday, February 10, 2009 1:57 PM
To: axis-user@ws.apache.org
Subject: Re: Axis2 problem with invoking methodes through GET requests

Hi Valeriy,

Could you post the XML Schema section that defines this message that
your refering to.

Thanks,
Keith.
On Tue, Feb 10, 2009 at 3:10 PM, Valerly Provalov <vprovalov@five9.com>
wrote:
Hi all,

I use skeleton generated by WSDL2Java. While parsing request, generated
stubs checks attributes namespaces something like this:

if ( reader.isStartElement() && new
javax.xml.namespace.QName(<namespace>,
<attribute_name>).equals(reader.getName())

Everything works fine with generated stubs, but doesn't with GET
requests. In this case, generated SOAP packet doesn't contain attributes
namespace for method parameters. Is there any solution for this problem?

Regards,
Valeriy.


----------------------------------------------------------------------
This e-mail message is for the sole use of the intended recipient(s) and
contains confidential and/or privileged information belonging to
Five 9, Inc. or its customers or partners. Any unauthorized review, use,
copying, disclosure or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please
contact the sender by reply e-mail and destroy all soft and hard copies
of the message and any attachments.
Thank you for your cooperation.
----------------------------------------------------------------------



-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


----------------------------------------------------------------------
This e-mail message is for the sole use of the intended recipient(s) and contains confidential
and/or privileged information belonging to
Five 9, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure
or distribution of this message is strictly
prohibited. If you are not an intended recipient of this message, please contact the sender
by reply e-mail and destroy all soft and hard copies of the message and any attachments.
Thank you for your cooperation.
----------------------------------------------------------------------
Mime
View raw message