Yes i use xml4j 2.0.15 as required in Apache soap v.1.1
Thanks
Theo

-----Original Message-----
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]]
Sent: luned� 18 giugno 2001 11.55
To: [EMAIL PROTECTED]
Subject: Re: XMI Problem


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" <[EMAIL PROTECTED]>
To: "[EMAIL PROTECTED] (E-mail)" <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to