I'm desperate, please help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

I'm desperate, please help

Post by prue_ »

I have a .wsdl document that supposed to be use in php website to get the widgets working.. how can I do it.. i don't know where to start.. please help... thanks!
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

Re: I'm desperate, please help

Post by prue_ »

anyone???? suggestions... please...
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: I'm desperate, please help

Post by Christopher »

A descriptive title helps because most of the programmers around her are terrible at dealing with desperation. It would also be helpful to know what code might be using the .wsdl document; how it is to be used; what kind of widgets, etc., etc.
(#10850)
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

Re: I'm desperate, please help

Post by prue_ »

you've given me hope... here is the content of wsdl doc.. I don't know how to use this as well.. I've asked for the script to run the widgets from cms but instead this wsdl definition was given. thanks in advance...

Code: Select all

 
<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="urn:DefaultNamespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:DefaultNamespace" xmlns:intf="urn:DefaultNamespace" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <wsdl:types>
  <schema targetNamespace="urn:DefaultNamespace" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="SECTION">
    <sequence>
     <element name="SECTIONNAME" type="xsd:string"/>
     <element name="SECTIONKEY" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOfSECTION">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SECTION[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <complexType name="SECTIONARRAY">
    <sequence>
     <element name="SECTIONS" nillable="true" type="impl:ArrayOfSECTION"/>
    </sequence>
   </complexType>
   <complexType name="CATEGORY">
    <sequence>
     <element name="CATEGORYKEY" type="xsd:string"/>
     <element name="CATEGORYNAME" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOfCATEGORY">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:CATEGORY[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <complexType name="CATEGORYARRAY">
    <sequence>
     <element name="CATEGORIES" nillable="true" type="impl:ArrayOfCATEGORY"/>
    </sequence>
   </complexType>
   <complexType name="PAGE">
    <sequence>
     <element name="TITLE" type="xsd:string"/>
     <element name="URL" type="xsd:string"/>
     <element name="SECTIONNAME" type="xsd:string"/>
     <element name="CATEGORYNAME" type="xsd:string"/>
     <element name="CATEGORYKEY" type="xsd:string"/>
     <element name="SECTIONKEY" type="xsd:string"/>
     <element name="DATEPUBLISHED" nillable="true" type="xsd:dateTime"/>
     <element name="ABSTRACT" type="xsd:string"/>
    </sequence>
   </complexType>
   <complexType name="ArrayOfPAGE">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:PAGE[]"/>
     </restriction>
    </complexContent>
   </complexType>
   <complexType name="PAGEARRAY">
    <sequence>
     <element name="PAGES" nillable="true" type="impl:ArrayOfPAGE"/>
    </sequence>
   </complexType>
  </schema>
 </wsdl:types>
 <message name="GETCONTENTURLBYKEYRequest">
  <part name="CONTENTKEY" type="xsd:string"/>
 </message>
 <message name="GETCATEGORIESResponse">
  <part name="GETCATEGORIESReturn" type="impl:CATEGORYARRAY"/>
 </message>
 <message name="GETSERVERTIMESTAMPRequest">
 </message>
 <message name="GETRANDOMPAGERequest">
  <part name="PARENTKEY" type="xsd:string"/>
 </message>
 <message name="GETSECTIONSResponse">
  <part name="GETSECTIONSReturn" type="impl:SECTIONARRAY"/>
 </message>
 <message name="GETRECENTPAGESResponse">
  <part name="GETRECENTPAGESReturn" type="impl:PAGEARRAY"/>
 </message>
 <message name="GETSECTIONSRequest">
 </message>
 <message name="GETRANDOMPAGEResponse">
  <part name="GETRANDOMPAGEReturn" type="impl:PAGE"/>
 </message>
 <message name="GETSERVERTIMESTAMPResponse">
  <part name="GETSERVERTIMESTAMPReturn" type="xsd:dateTime"/>
 </message>
 <message name="GETCONTENTURLBYKEYResponse">
  <part name="GETCONTENTURLBYKEYReturn" type="xsd:string"/>
 </message>
 <message name="GETCATEGORIESRequest">
  <part name="SECTIONKEY" type="xsd:string"/>
 </message>
 <message name="GETRECENTPAGESRequest">
  <part name="PARENTKEY" type="xsd:string"/>
  <part name="COUNT" type="xsd:short"/>
 </message>
 <portType name="CMSServicePortType">
  <operation name="GETSERVERTIMESTAMP">
   <input message="impl:GETSERVERTIMESTAMPRequest" name="GETSERVERTIMESTAMPRequest"/>
   <output message="impl:GETSERVERTIMESTAMPResponse" name="GETSERVERTIMESTAMPResponse"/>
  </operation>
  <operation name="GETSECTIONS">
   <input message="impl:GETSECTIONSRequest" name="GETSECTIONSRequest"/>
   <output message="impl:GETSECTIONSResponse" name="GETSECTIONSResponse"/>
  </operation>
  <operation name="GETCATEGORIES" parameterOrder="SECTIONKEY">
   <input message="impl:GETCATEGORIESRequest" name="GETCATEGORIESRequest"/>
   <output message="impl:GETCATEGORIESResponse" name="GETCATEGORIESResponse"/>
  </operation>
  <operation name="GETRECENTPAGES" parameterOrder="PARENTKEY COUNT">
   <input message="impl:GETRECENTPAGESRequest" name="GETRECENTPAGESRequest"/>
   <output message="impl:GETRECENTPAGESResponse" name="GETRECENTPAGESResponse"/>
  </operation>
  <operation name="GETRANDOMPAGE" parameterOrder="PARENTKEY">
   <input message="impl:GETRANDOMPAGERequest" name="GETRANDOMPAGERequest"/>
   <output message="impl:GETRANDOMPAGEResponse" name="GETRANDOMPAGEResponse"/>
  </operation>
  <operation name="GETCONTENTURLBYKEY" parameterOrder="CONTENTKEY">
   <input message="impl:GETCONTENTURLBYKEYRequest" name="GETCONTENTURLBYKEYRequest"/>
   <output message="impl:GETCONTENTURLBYKEYResponse" name="GETCONTENTURLBYKEYResponse"/>
  </operation>
 </portType>
 <binding name="CMSServicePortSoapBinding" type="impl:CMSServicePortType">
  <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
  <operation name="GETSERVERTIMESTAMP">
   <wsdlsoap:operation soapAction="GETSERVERTIMESTAMP"/>
   <input name="GETSERVERTIMESTAMPRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETSERVERTIMESTAMPResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
  <operation name="GETSECTIONS">
   <wsdlsoap:operation soapAction="GETSECTIONS"/>
   <input name="GETSECTIONSRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETSECTIONSResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
  <operation name="GETCATEGORIES">
   <wsdlsoap:operation soapAction="GETCATEGORIES"/>
   <input name="GETCATEGORIESRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETCATEGORIESResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
  <operation name="GETRECENTPAGES">
   <wsdlsoap:operation soapAction="GETRECENTPAGES"/>
   <input name="GETRECENTPAGESRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETRECENTPAGESResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
  <operation name="GETRANDOMPAGE">
   <wsdlsoap:operation soapAction="GETRANDOMPAGE"/>
   <input name="GETRANDOMPAGERequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETRANDOMPAGEResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
  <operation name="GETCONTENTURLBYKEY">
   <wsdlsoap:operation soapAction="GETCONTENTURLBYKEY"/>
   <input name="GETCONTENTURLBYKEYRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </input>
   <output name="GETCONTENTURLBYKEYResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:DefaultNamespace" use="encoded"/>
   </output>
  </operation>
 </binding>
 <service name="CMSServiceElement">
  <port binding="impl:CMSServicePortSoapBinding" name="CMSServicePort">
   <wsdlsoap:address location="http://localhost"/>
  </port>
 </service>
</definitions>
 
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: I'm desperate, please help

Post by Christopher »

Ok ... now we have a wsdl document (that looks like it is for a Java SOAP service). So what software on the "php website" needs this wsdl to "get the widgets working" ?
(#10850)
prue_
Forum Commoner
Posts: 64
Joined: Thu May 07, 2009 10:34 pm

Re: I'm desperate, please help

Post by prue_ »

actually a third party is handling the CMS... (Lotus I guess) I'm only doing the static pages.. what's needed is to display the content dynamically from that CMS into the currently static widgets... I just need the script for this.. but I have no idea how to pull some data on that wsdl doc to get the scripts needed. I don't know if I've explain it well.. but let me know if everything I've said did not make any sense.
Post Reply