xforms and web service

View: New views
1 Messages — Rating Filter:   Alert me  

xforms and web service

by simsirpasc :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i'm trying to communicate with simple web service from xform. the
problem is that i don't get SOAP messages back.
i only get XML as a response. here is the code...

                <xf:instance id="request_instance" xmlns="http://schemas.xmlsoap.org/
soap/envelope/">
                        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:q0="http://tempuri.org/" xmlns:xsd="http://www.w3.org/
2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                                <soapenv:Body>
                                        <q0:HelloWorld />
                                </soapenv:Body>
                        </soapenv:Envelope>
                </xf:instance>
                <xf:instance id="result_instance" xmlns="">
                        <env:Envelope  />
                </xf:instance>
                <xf:submission id="call_mailboxWS"
                action="http://localhost:2875/WebSite1/Service.asmx/HelloWorld"
                method="post"
                mediatype="text/xml"
                ref="instance('request_instance')"
                replace="instance"
                instance="result_instance">
                </xf:submission>

notice that in submission tag, under target i've added /HelloWorld,
although it's supposed to be connection point of WS. but if i remove
it i don't get any response from WS.
what am i doing wrong?
_______________________________________________
dev-tech-xforms mailing list
dev-tech-xforms@...
https://lists.mozilla.org/listinfo/dev-tech-xforms
LightInTheBox - Buy quality products at wholesale price!