Title: problem with calling a web service with soap

Hi all,

i have a problem in calling a web service with cocoon and soap. i want
to sent an xml-file, which is saved on my local harddisk, via soap
request to a web service. The web service function well..

How can i do this? i can't find any example for this problem!

here my xsp code for calling the web service:

<xsp:page language="java" xmlns:xsp="http://apache.org/xsp" xmlns:xsp-request="http://apache.org/xsp/request/2.0" xmlns:soap="http://apache.org/xsp/soap/3.0" xmlns:xscript="http://apache.org/xsp/xscript/1.0" xmlns:log="http://apache.org/xsp/log/2.0">
        <page>
                <xsp:logic>
                        String query = "testabfrage";
                </xsp:logic>
                <soap:call
                url="" href="http://10.111.11.111/datenpool21/datenpool21.asmx">http://10.111.11.111/datenpool21/datenpool21.asmx" method="http://name.org/datenpool21/datenpool21/Auskunft">
                        <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">
                                <soap:Body>
                                        <ns1:Polizeiauskunft xmlns:ns1="urn:http://tempuri.org/datenpool21/datenpool21/PolizeiAuskunft" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
                                               
                                                <XMELDQuery0400
                                                xsi:type="string">xml-file</href></XMELDQuery0400>
                                               
                                        </ns1:Auskunft>
                                </soap:Body>
                        </soap:Envelope>
                </soap:call>
        </page>
</xsp:page>


Thanks for your help!

Regards  Dirk

----------------------------------------
Dirk Skirde
Hessische Zentrale für Datenverarbeitung
Mainzer Strasse 50  Raum 009
65189 Wiesbaden
Tel.:  +49 611 340 1941
Fax:   +49 611 340 5941
EMail: [EMAIL PROTECTED]

Reply via email to