<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
Some of you may have seem my PHP SOAP server creation stuff on the
'Offtopic' list below is a quick summary..<br>
<br>
Replacing Delphi SOAP service with PHP<br>
Re using WSDL created by Delphi for PHP service (with minor
modifications)<br>
<br>
I am at the testing phase. My delphi client does connect but I get the
following error ...<br>
<br>
<br>
XML document must have a top level element.<br>
Line: 0<br>
<br>
<br>
<br>
I have changed the service detail from<br>
<br>
ChreosEDISOAP_Marv.exe/soap/IChreosEDISOAP_Marv // Delphi exe<br>
<br>
to<br>
<br>
MarveloxSoap.php <br>
<br>
I can add the /soap/IChreosEDISOAP_Marv to the above but it does not
make a difference.<br>
<br>
I don't know if it is the SOAP setup on the web site, my new PHP server
a fault in my WSDL or a problem with my client. (WSDL follows). Any
help would be appreciated.<br>
<br>
<br>
<?xml version="1.0" encoding="UTF-8" standalone="no"?><br>
<definitions xmlns=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/wsdl/">"http://schemas.xmlsoap.org/wsdl/"</a>
xmlns:xs=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
name="IChreosEDISOAP_Marvservice" targetNamespace=<a class="moz-txt-link-rfc2396E" href="http://tempuri.org/">"http://tempuri.org/"</a>
xmlns:tns=<a class="moz-txt-link-rfc2396E" href="http://tempuri.org/">"http://tempuri.org/"</a>
xmlns:soap=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/wsdl/soap/">"http://schemas.xmlsoap.org/wsdl/soap/"</a>
xmlns:soapenc=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:mime=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/wsdl/mime/">"http://schemas.xmlsoap.org/wsdl/mime/"</a>
xmlns:ns1="urn:DataClasses"><br>
<types><br>
<xs:schema targetNamespace="urn:DataClasses"
xmlns="urn:DataClasses"><br>
<xs:complexType name="TClientDataRecArray"><br>
<xs:complexContent><br>
<xs:restriction base="soapenc:Array"><br>
<xs:sequence/><br>
<xs:attribute ref="soapenc:arrayType"
n1:arrayType="ns1:TClientDataRec[]"
xmlns:n1=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/wsdl/">"http://schemas.xmlsoap.org/wsdl/"</a>/><br>
</xs:restriction><br>
</xs:complexContent><br>
</xs:complexType><br>
<xs:complexType name="TClientDataRec"><br>
<xs:complexContent><br>
<xs:extension base="TEDIRemotable"><br>
<xs:sequence><br>
<xs:element name="EntityRef" type="xs:string"/><br>
<xs:element name="OrgCode" type="xs:int"/><br>
<xs:element name="ClientCode" type="xs:string"/><br>
<xs:element name="ClientName" type="xs:string"/><br>
<xs:element name="PostalAddr" type="xs:string"/><br>
<xs:element name="PostalPostCode" type="xs:string"/><br>
<xs:element name="DeliveryAddr" type="xs:string"/><br>
<xs:element name="DayPhone" type="xs:string"/><br>
<xs:element name="FaxPhone" type="xs:string"/><br>
<xs:element name="StatementEmail" type="xs:string"/><br>
<xs:element name="InvoiceEmail" type="xs:string"/><br>
<xs:element name="CredLimitAmt" type="xs:double"/><br>
<xs:element name="LastRecAmt" type="xs:double"/><br>
<xs:element name="LastRecDate" type="xs:dateTime"/><br>
<xs:element name="AccStatusChar" type="xs:string"/><br>
<xs:element name="Password" type="xs:string"/><br>
<xs:element name="BalFuture" type="xs:double"/><br>
<xs:element name="BalNextMth" type="xs:double"/><br>
<xs:element name="BalLaterThisMth"
type="xs:double"/><br>
<xs:element name="BalOverdueThisMth"
type="xs:double"/><br>
<xs:element name="Bal1Month" type="xs:double"/><br>
<xs:element name="BalToDate" type="xs:double"/><br>
<xs:element name="ContactRecArray"
type="ns1:TContactRecArray"/><br>
<xs:element name="Balance" type="xs:double"/><br>
<xs:element name="BalOlder" type="xs:double"/><br>
</xs:sequence><br>
</xs:extension><br>
</xs:complexContent><br>
</xs:complexType><br>
<xs:complexType name="TContactRecArray"><br>
<xs:complexContent><br>
<xs:restriction base="soapenc:Array"><br>
<xs:sequence/><br>
<xs:attribute ref="soapenc:arrayType"
n1:arrayType="ns1:TContactRec[]"
xmlns:n1=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/wsdl/">"http://schemas.xmlsoap.org/wsdl/"</a>/><br>
</xs:restriction><br>
</xs:complexContent><br>
</xs:complexType><br>
<xs:complexType name="TContactRec"><br>
<xs:complexContent><br>
<xs:extension base="TEDIRemotable"><br>
<xs:sequence><br>
<xs:element name="EntityRef" type="xs:string"/><br>
<xs:element name="ContactName" type="xs:string"/><br>
<xs:element name="Position" type="xs:string"/><br>
<xs:element name="DayPhone" type="xs:string"/><br>
<xs:element name="Cellphone" type="xs:string"/><br>
<xs:element name="EmailAddr" type="xs:string"/><br>
</xs:sequence><br>
</xs:extension><br>
</xs:complexContent><br>
</xs:complexType><br>
</xs:schema><br>
</types><br>
<message name="RefreshClientData0Request"><br>
<part name="OrgCode" type="xs:int"/><br>
<part name="aClientDataRecArray"
type="ns1:TClientDataRecArray"/><br>
</message><br>
<message name="RefreshClientData0Response"><br>
<part name="return" type="xs:string"/><br>
</message><br>
<portType name="IChreosEDISOAP_Marv"><br>
<operation name="RefreshClientData"><br>
<input message="tns:RefreshClientData0Request"/><br>
<output message="tns:RefreshClientData0Response"/><br>
</operation><br>
</portType><br>
<binding name="IChreosEDISOAP_Marvbinding"
type="tns:IChreosEDISOAP_Marv"><br>
<soap:binding style="rpc"
transport=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/http">"http://schemas.xmlsoap.org/soap/http"</a>/><br>
<operation name="RefreshClientData"><br>
<soap:operation
soapAction="urn:ChreosEDISOAP_MarvIntf-IChreosEDISOAP_Marv#RefreshClientData"
style="rpc"/><br>
<input><br>
<soap:body use="encoded"
encodingStyle=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
namespace="urn:ChreosEDISOAP_MarvIntf-IChreosEDISOAP_Marv"/><br>
</input><br>
<output><br>
<soap:body use="encoded"
encodingStyle=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
namespace="urn:ChreosEDISOAP_MarvIntf-IChreosEDISOAP_Marv"/><br>
</output><br>
</operation><br>
</binding><br>
<service name="IChreosEDISOAP_Marvservice"><br>
<port name="IChreosEDISOAP_MarvPort"
binding="tns:IChreosEDISOAP_Marvbinding"><br>
<soap:address
location=<a class="moz-txt-link-rfc2396E" href="http://marveloxcom.axiion.net/MarveloxSoap.php">"http://marveloxcom.axiion.net/MarveloxSoap.php"</a>/><br>
</port><br>
</service><br>
</definitions><br>
<br>
<br>
<br>
Thanks<br>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="Robert%20Martin_files/filelist.xml">
<title>Robert Martin</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Wild Software Ltd</o:Author>
<o:LastAuthor>Wild Software Ltd</o:LastAuthor>
<o:Revision>6</o:Revision>
<o:TotalTime>55</o:TotalTime>
<o:Created>2009-02-13T02:47:00Z</o:Created>
<o:LastSaved>2009-02-13T03:42:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>13</o:Words>
<o:Characters>77</o:Characters>
<o:Company>Wild Software Ltd</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>89</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:Break
WrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1">
<p class="MsoNormal"><i style=""><span
style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Robert Martin<o:p></o:p></span></i></p>
<p class="MsoNormal"><i style=""><span
style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Software
development
manager<o:p></o:p></span></i></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"
lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span class="SpellE"><span
style="font-size: 10pt; font-family: Arial;" lang="EN-NZ">Chreos</span></span><span
style="font-size: 10pt; font-family: Arial;" lang="EN-NZ"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"
lang="EN-NZ"><a class="moz-txt-link-abbreviated" href="http://www.chreos.co.nz">www.chreos.co.nz</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family: Arial;"
lang="EN-NZ">Ph +64 03 377-0495<o:p></o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(255, 153, 0);" lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-NZ"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>