axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaclav Balak <shmo...@gmail.com>
Subject Different requests for one service
Date Fri, 16 Apr 2010 11:44:53 GMT
Hi,
 I have some clients accessing my service. I can't modify clients,
but I can modify my service. But why should I want to do that? Check
this out: I made service for one client, which works fine. After a
while another client comes, which has some default parameters naming,
se attached requests. So my question is - is it possible to have a
service, which will work fine with both clients? How to set it up? (axis2-1.5.1)

Many thanks in advance
Vaclav Balak

******************************************************
original request - this works fine

<soap:Envelope
 xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:tns="urn:xmds"
 xmlns:types="urn:xmds/encodedTypes"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<tns:Schedule>
 <serverKey xsi:type="xsd:string">key</serverKey>
 <hardwareKey xsi:type="xsd:string">9b423a942c73ec36b4fba659f8a7809f</hardwareKey>
 <version xsi:type="xsd:string">1</version>
</tns:Schedule>
</soap:Body>
</soap:Envelope>

********************************************************************
another request - this doesn't work (Unexpected subelement v1)

<SOAP-ENV:Envelope
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>
<SOAP-ENV:Body>
<Schedule SOAP-ENC:root="1">
 <v1 xsi:type="xsd:string">key</v1>
 <v2 xsi:type="xsd:string">aec7d6f7510db39297060b9f25efdeecacc05d12</v2>
 <v3 xsi:type="xsd:string">1</v3>
</Schedule>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

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


Mime
View raw message