You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Matteo Belloni <be...@cefriel.it> on 2001/06/18 10:58:29 UTC

XMI Problem

Why the document generated with NS_URI_XMI_ENC is:

<?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:Ricevi
xmlns:ns1="urn:ServerProxy"
SOAP-ENV:encodingStyle="http://www.ibm.com/namespaces/xmi"> <?xml
version="1.0" encoding="UTF-8"?>
<XMI xmi.version="1.1" timestamp="timestamp temporarily ommitted">
  <XMI.header>
    <XMI.documentation>
      <XMI.exporter>Java Object Bridge (JOB)</XMI.exporter>
      <XMI.exporterVersion>0.9</XMI.exporterVersion>
    </XMI.documentation>
  </XMI.header>
  <XMI.content>
    <EAI.Elementi xmi.id="_1" el1="5" el2="7"/>
  </XMI.content>
</XMI> </ns1:Ricevi> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

I do: 
Parameter param1=new Parameter(nome,Object.class,param,null);
 call.setEncodingStyleURI(Constants.NS_URI_XMI_ENC);

What is wrong?
Thanks in advance
Theo

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: XMI Problem

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
XMI support currently requires a very specific version of the
XMI toolkit and XML4J. Are you using exactly that? The docs
tell you exactly which version to use .. some of the newer
versions insist on putting the XML declaration for each
thing serialized and that obviously won't work for SOAP.

Sanjiva.

----- Original Message ----- 
From: "Matteo Belloni" <be...@cefriel.it>
To: "Soap-User@Xml.Apache.Org (E-mail)" <so...@xml.apache.org>
Sent: Monday, June 18, 2001 4:58 AM
Subject: XMI Problem


> Why the document generated with NS_URI_XMI_ENC is:
> 
> <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:Ricevi
> xmlns:ns1="urn:ServerProxy"
> SOAP-ENV:encodingStyle="http://www.ibm.com/namespaces/xmi"> <?xml
> version="1.0" encoding="UTF-8"?>
> <XMI xmi.version="1.1" timestamp="timestamp temporarily ommitted">
>   <XMI.header>
>     <XMI.documentation>
>       <XMI.exporter>Java Object Bridge (JOB)</XMI.exporter>
>       <XMI.exporterVersion>0.9</XMI.exporterVersion>
>     </XMI.documentation>
>   </XMI.header>
>   <XMI.content>
>     <EAI.Elementi xmi.id="_1" el1="5" el2="7"/>
>   </XMI.content>
> </XMI> </ns1:Ricevi> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
> 
> I do: 
> Parameter param1=new Parameter(nome,Object.class,param,null);
>  call.setEncodingStyleURI(Constants.NS_URI_XMI_ENC);
> 
> What is wrong?
> Thanks in advance
> Theo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: XMI Problem

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
XMI support currently requires a very specific version of the
XMI toolkit and XML4J. Are you using exactly that? The docs
tell you exactly which version to use .. some of the newer
versions insist on putting the XML declaration for each
thing serialized and that obviously won't work for SOAP.

Sanjiva.

----- Original Message ----- 
From: "Matteo Belloni" <be...@cefriel.it>
To: "Soap-User@Xml.Apache.Org (E-mail)" <so...@xml.apache.org>
Sent: Monday, June 18, 2001 4:58 AM
Subject: XMI Problem


> Why the document generated with NS_URI_XMI_ENC is:
> 
> <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:Ricevi
> xmlns:ns1="urn:ServerProxy"
> SOAP-ENV:encodingStyle="http://www.ibm.com/namespaces/xmi"> <?xml
> version="1.0" encoding="UTF-8"?>
> <XMI xmi.version="1.1" timestamp="timestamp temporarily ommitted">
>   <XMI.header>
>     <XMI.documentation>
>       <XMI.exporter>Java Object Bridge (JOB)</XMI.exporter>
>       <XMI.exporterVersion>0.9</XMI.exporterVersion>
>     </XMI.documentation>
>   </XMI.header>
>   <XMI.content>
>     <EAI.Elementi xmi.id="_1" el1="5" el2="7"/>
>   </XMI.content>
> </XMI> </ns1:Ricevi> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
> 
> I do: 
> Parameter param1=new Parameter(nome,Object.class,param,null);
>  call.setEncodingStyleURI(Constants.NS_URI_XMI_ENC);
> 
> What is wrong?
> Thanks in advance
> Theo
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org