http://www.fosstrak.org/epcis/docs/user-guide.html

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> Subject: Problem with ns qualified attribute  of a client message
> From: err...@free.fr
> To: axis-user@ws.apache.org
> Date: Mon, 24 Aug 2009 23:36:00 +0200
> 
> Hello,
> 
> I do have a problem with a axis2 generated webservice client.
> The webservice  I use is the standard one specified by EPCglobal (file a
> use to generate the client are on
> http://www.epcglobalinc.org/standards/epcis)
> 
> My problem is that the current code :
> 
>               QueryParams params = new QueryParams();
>               QueryParam p1 = new QueryParam();
>               p1.setName("eventType");
>               p1.setValue("ObjectEvent");
>               params.addParam(p1);
>               
>               Poll polData = new Poll();
>               polData.setQueryName("SimpleEventQuery");
>               polData.setParams(params);
>               
>               PollE poll = new PollE();
>               poll.setPoll(polData);
>               
>               
>               EPCglobalEPCISServiceStub myStub = new 
> EPCglobalEPCISServiceStub("http://localhost:8080/Test";);
>               
>               myStub.poll(poll);
> 
> Generate a SOAP message like this :
> 
> <?xml version='1.0' encoding='utf-8'?>
>       <soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>               <soapenv:Body>
>                       <ns5:Poll xmlns:ns5="urn:epcglobal:epcis-query:xsd:1">
>                               <queryName>SimpleEventQuery</queryName>
>                               <params><param><name>eventType</name>
>                               <value 
> xmlns:s1="http://www.w3.org/2001/XMLSchema-instance"; 
> xmlns:s2="http://www.w3.org/2001/XMLSchema"; 
> s1:type="s2:string">ObjectEvent</value></param></params>
>                       </ns5:Poll>
>               </soapenv:Body>
> </soapenv:Envelope>
> 
> My problem is the server. I don't have access to the code on it
> (proprietary solution :-/). And it does not work as it does not want
> fully qualified type attribute like the ones in <value> tag. It's
> waiting for 
> <value>ObjectEvent</value>
> instead of :
> <value xmlns:s1="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:s2="http://www.w3.org/2001/XMLSchema";
> s1:type="s2:string">ObjectEvent</value>
> 
> any tips to get rid of this attributes ?
> 
> Thank you very much for any help
> 
> Cheers,
> 
> -- 
> MBdC
> 

_________________________________________________________________
With Windows Live, you can organize, edit, and share your photos.
http://www.windowslive.com/Desktop/PhotoGallery

Reply via email to