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

Re: Try to consume a Webservice



   Hello Ronnie
   Thank you very much for your quick answer.
   Now it works.
   Jan

   Am 06.08.2012 12:09, schrieb Ronnie:

Put > after the closing tags for the following elements.

Your xml
<xsd:_P0AUSFUEHRUNG>000123                </xsd:_P0AUSFUEHRUNG
<xsd:_P0EXTARTNR>15001012                </xsd:_P0EXTARTNR

Should be
<xsd:_P0AUSFUEHRUNG>000123                </xsd:_P0AUSFUEHRUNG>
<xsd:_P0EXTARTNR>15001012                </xsd:_P0EXTARTNR>


Ronnie Visser
+27 11 012 8700.
082 322 7920


-----Original Message-----
From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [[2]mailto:ftpapi-bounces@lists.s
cottklement.com] On Behalf Of Jan Grove Vejlstrup
Sent: Monday, August 06, 2012 11:50 AM
To: HTTPAPI and FTPAPI Projects
Subject: Try to consume a Webservice

Hello

I'm trying to consume a webservice kistst with this wsdl:

<soapenv:Envelope
xmlns:soapenv=[3]"http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd=[4]"http://kistst.wsbeans.iseries/xsd";>
    <soapenv:Header/>
    <soapenv:Body>
       <xsd:kistst>
          <xsd:args0>
             <xsd:_P0ANZAHL>?</xsd:_P0ANZAHL>
             <xsd:_P0AUSFUEHRUNG>?</xsd:_P0AUSFUEHRUNG>
             <xsd:_P0EXTARTNR>?</xsd:_P0EXTARTNR>
             <xsd:_P0EXTKDNR>?</xsd:_P0EXTKDNR>
             <xsd:_P0FARBE>?</xsd:_P0FARBE>
             <xsd:_P0FIRMA>?</xsd:_P0FIRMA>
             <xsd:_P0LTCODE>?</xsd:_P0LTCODE>
<xsd:_P0VERKAUFSSTELLE>?</xsd:_P0VERKAUFSSTELLE>
             <xsd:_P0WERK>?</xsd:_P0WERK>
          </xsd:args0>
       </xsd:kistst>
    </soapenv:Body>
</soapenv:Envelope>

I am receiving the attached debug.file, which tells me, that the
element-typ ""  is not compatible with the expected
"&lt;/xsd:kistst&gt;".

I can't find the error in my SOAP-request, that you can see in the
debug-file. Can someone please help me?

Thank you in advance.

Best regards

Jan

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[5]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   2. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   3. http://schemas.xmlsoap.org/soap/envelope/
   4. http://kistst.wsbeans.iseries/xsd
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------