users@jax-rpc.java.net

Re: empty element type w/.NET & java

From: Alex <alex_at_squigly.net>
Date: Tue, 14 Sep 2004 11:33:02 -0400 (EDT)

This is what's sent on the java end to the .net ws:

<?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://star.net.uk/webservices/"><env:Header>
<ns0:ContextInformation><ns0:PublicKey>a39ruaoisdjuoaesijrlsajflsajfa98u32r2uhfdaf09823ru08</ns0:PublicKey>
<ns0:UserIdentifier>d44b50bc-c453-414a-b0e4-be0214549a44</ns0:UserIdentifier></ns0:ContextInformation></env:Header>
<env:Body><ns0:Save>
<ns0:coreType xsi:type="ns0:FacilityType"><ns0:ExistsInDb>false</ns0:ExistsInDb><ns0:Id>0</ns0:Id>
<ns0:Name>1095176997</ns0:Name><ns0:Description>1095176997</ns0:Description><ns0:DataOrgId>1</ns0:DataOrgId>
</ns0:coreType></ns0:Save></env:Body></env:Envelope>

This is what's coming back from the .net service to the java app.


<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<SaveResponse xmlns="http://feh.net.uk/webservices/">
<SaveResult xsi:type="FacilityType">
<UpdateDate>0001-01-01T00:00:00.0000000-00:00</UpdateDate>
<ExistsInDb>true</ExistsInDb><Id>28</Id><Name>1095176997</Name>
<Description>1095176997</Description><DataOrgId>1</DataOrgId>
</SaveResult></SaveResponse></soap:Body></soap:Envelope>


Sorry for the formatting. Pine isn't xml friendly:)




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net