users@jax-rpc.java.net
wrong namespace prefixes
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Next in thread
] [
Replies
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: Honorez Dylan <
Dylan.Honorez_at_cronos.be
>
Date
: Wed, 4 May 2005 14:09:14 +0200
Hi guys,
I'm invoking a webservice using stubs, generated with JWSDP 1.5. Then I
use a Transformer to print the returned SOAPMessage.
The problem is, the Transformer is interpreting the message, making
changes to it.
Here is the sniffed SOAPMessage:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema
"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
"
xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/
"
xmlns:ns0="
http://www.hprim.org/hprimXML
">
<env:Body>
<ns0:enregistrementPatientResponse>
<XQuery
xmlns:hprim="
http://www.hprim.org/hprimXML
"
xmlns:insee="
http://www.hprim.org/inseeXML
">
<hprim:enregistrementPatient action="creation">
<hprim:dateAction>
<hprim:date>2004-08-13</hprim:date>
<hprim:heure>18:20:00</hprim:heure>
</hprim:dateAction>
<hprim:patient anonyme="oui" confidentiel="oui">
...
Here is the printed message :
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<XQuery xmlns:enc="
http://schemas.xmlsoap.org/soap/encoding/
"
xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:hprim="
http://www.hprim.org/hprimXML
"
xmlns:insee="
http://www.hprim.org/inseeXML
"
xmlns:ns0="
http://www.hprim.org/hprimXML
"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema
"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance
">
<ns:enregistrementPatient action="creation"
xmlns:ns="
http://www.hprim.org/hprimXML
">
<ns:dateAction>
<ns:date>2004-08-13</ns:date>
<ns:heure>18:20:00</ns:heure>
</ns:dateAction>
<ns:patient anonyme="oui" confidentiel="oui">
...
Do you know any way that the Transformer doesn't change the prefixes? Or
should I use an alternative to the Transformer? I've tried a different
version of XALAN, but that version added 6 namespace declarations to
each element!
Met vriendelijke groeten,
Dylan Honorez
Integration Consultant | Research & Development
kZen | 4C
This message
: [
Message body
]
Next message
:
Anne Thomas Manes: "Re: Sharing common data types between multiple WSDL files"
Previous message
:
Ryan LeCompte: "RE: Sharing common data types between multiple WSDL files"
Next in thread
:
Matt Swensson: "Re: wrong namespace prefixes"
Maybe reply
:
Matt Swensson: "Re: wrong namespace prefixes"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]