Expand my Community achievements bar.

NuSoap server + wsdl + pdf form

Avatar

Former Community Member

Hi,

I've got a problem. I make a NuSoap server in PHP and it generates wsdl nad with SoapUI works fine. But when I want to connect this web service to pdf form in livecycle designer, it shows me only the subform Seznam and nothing to bind (text field etc.). If anybody can help me, I would be pleased. Thanks, Here is my wsdl.

<definitions xmlns:SOAP-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:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"xmlns:tns="urn:http://localhost/dovolenka/dovolenka_ws.php" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"targetNamespace="urn:http://localhost/dovolenka/dovolenka_ws.php">
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:http://localhost/dovolenka/dovolenka_ws.php">
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/>
<xsd:complexType name="zaznam">
<xsd:sequence>
<xsd:element name="jmeno" type="xsd:string"/>
<xsd:element name="mail" type="xsd:string"/>
<xsd:element name="datumOd" type="xsd:date"/>
<xsd:element name="datumDo" type="xsd:date"/>
<xsd:element name="pracovniDny" type="xsd:int"/>
<xsd:element name="misto" type="xsd:string"/>
<xsd:element name="schvaleno" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Seznam">
<xsd:complexContent>
<xsd:restriction base="SOAP-ENC:Array">
<xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:zaznam[]"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="zalozZaznamRequestType">
<xsd:all>
<xsd:element name="jmeno" type="xsd:string" form="unqualified"/>
<xsd:element name="mail" type="xsd:string" form="unqualified"/>
<xsd:element name="datumOd" type="xsd:date" form="unqualified"/>
<xsd:element name="datumDo" type="xsd:date" form="unqualified"/>
<xsd:element name="pracovniDny" type="xsd:int" form="unqualified"/>
<xsd:element name="misto" type="xsd:string" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="zalozZaznamResponseType">
<xsd:all>
<xsd:element name="response" type="xsd:string" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="vratZaznamyRequestType">
<xsd:all>
<xsd:element name="jmeno" type="xsd:string" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:complexType name="vratZaznamyResponseType">
<xsd:all>
<xsd:element name="Seznam" type="tns:Seznam" form="unqualified"/>
</xsd:all>
</xsd:complexType>
<xsd:element name="zalozZaznam" type="tns:zalozZaznamRequestType"/>
<xsd:element name="zalozZaznamResponse" type="tns:zalozZaznamResponseType"/>
<xsd:element name="vratZaznamy" type="tns:vratZaznamyRequestType"/>
<xsd:element name="vratZaznamyResponse" type="tns:vratZaznamyResponseType"/>
</xsd:schema>
</types>
<message name="zalozZaznamRequest">
<part name="parameters" element="tns:zalozZaznam"/>
</message>
<message name="zalozZaznamResponse">
<part name="parameters" element="tns:zalozZaznamResponse"/>
</message>
<message name="vratZaznamyRequest">
<part name="parameters" element="tns:vratZaznamy"/>
</message>
<message name="vratZaznamyResponse">
<part name="parameters" element="tns:vratZaznamyResponse"/>
</message>
<operation name="zalozZaznam">
<documentation>
webova sluzba pro zalozeni nove zadosti o dovolenou
</documentation>
<input message="tns:zalozZaznamRequest"/>
<output message="tns:zalozZaznamResponse"/>
</operation>
<operation name="vratZaznamy">
<documentation>
webova sluzba zobrazujici ulozene zaznamy v databazi
</documentation>
<input message="tns:vratZaznamyRequest"/>
<output message="tns:vratZaznamyResponse"/>
</operation>
</portType>
<binding name="http://localhost/dovolenka/dovolenka_ws.phpBinding" type="tns:http://localhost/dovolenka/dovolenka_ws.phpPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="zalozZaznam">
<soap:operation soapAction="http://localhost/dovolenka/dovolenka_ws.php#zalozZaznam" style="document"/>
<input>
<soap:body use="literal" namespace="http://localhost/dovolenka/dovolenka_ws.php"/>
</input>
<output>
<soap:body use="literal" namespace="http://localhost/dovolenka/dovolenka_ws.php"/>
</output>
</operation>
<operation name="vratZaznamy">
<soap:operation soapAction="http://localhost/dovolenka/dovolenka_ws.php#vratZaznamy" style="document"/>
<input>
<soap:body use="literal" namespace="http://localhost/dovolenka/dovolenka_ws.php"/>
</input>
<output>
<soap:body use="literal" namespace="http://localhost/dovolenka/dovolenka_ws.php"/>
</output>
</operation>
</binding>
<port name="http://localhost/dovolenka/dovolenka_ws.phpPort" binding="tns:http://localhost/dovolenka/dovolenka_ws.phpBinding">
</port>
</service>
</definitions>
thanks:-)

3 Replies

Avatar

Former Community Member

I am only guessing here ...but be aware that Designer can only support simple types (strings, ints etc..) . I see that you have a type called tns:Seznam I think that is what is causing you issues.

Paul

Avatar

Former Community Member

Thanks for your replay, but i'm sure, that I can bind a complexType, because another wsdl uses it and it works. I think, that error will be on the side of NuSOAP, but I can't figure it out.

Thanks, Matěj

Avatar

Level 1

I got the same problem when I use Nusoap to implement WSDL with adobe livecycle.

Anyone know how to fix it?