Need help in creating a .NET compatible data type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Newbie here with a question:

I'm trying to communicate with a web service implemented in .NET to get
information about files stored in an online archive.

The methods provided by this web service all require a parameter called
the 'sessionID' which is of the data type 'guid'.  After writing to the
providers of the service, I've got two XML descriptions of this data type,
but have so far been unable to create a PHP variable to send with my
requests that works.  All I get back are errors about XML problems.  I
have included below the XML descriptions of the guid, in the hopes that
someone might be able to help me figure this one out.

Any takers?

Cris

********************
begin XML description #1
********************
<?xml version="1.0"?>
<ContainsGuid xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <myGuidProperty>00000000-0000-0000-0000-000000000000</myGuidProperty>
  <myLongProperty>314159</myLongProperty>
  <myIntProperty>278</myIntProperty>
  <myStringProperty>ha</myStringProperty>
</ContainsGuid>
********************
end XML Description #1


********************
Begin XML Description #2
********************
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
<SOAP-ENV:Body>
<a1:createApplicationsXML_x002B_ContainsGuid id="ref-1"
xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Test/serializeguidtofile%2C%20Version%3D0.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Dnull";>
<myGuid>
<_a>0</_a>
<_b>0</_b>
<_c>0</_c>
<_d>0</_d>
<_e>0</_e>
<_f>0</_f>
<_g>0</_g>
<_h>0</_h>
<_i>0</_i>
<_j>0</_j>
<_k>0</_k>
</myGuid>
<myLong>314159</myLong>
<myInt>278</myInt>
<myString id="ref-3">ha</myString>
</a1:createApplicationsXML_x002B_ContainsGuid>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
********************
end XML Description #2

********************************
Cris Ewing
CME and Telehealth Web Services
University of Washington
School of Medicine
Work Phone: (206) 685-9116
Home Phone: (206) 365-3413
E-mail: cewing@u.washington.edu
*******************************

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux