S
Scott Rubin
Hello again,
While I wait for SOAP/SSL to be implemented I have another problem. I
have a web service running with many clients. The way it is set up is
that through a web interface the admin will change the configurations of
the clients. The clients will all have XML documents stored locally
containing their settings. When changes are made the web service will
send a new version of that XML document to the client VIA soap. My
problem is that I can't seem to embed the XML document into the SOAP
envelope and have it work on the other end. Many sites on the net say
to use a SOAP attachment, but this wont work for our purposes.
The best I've gotten it to do is have the response be a
SOAP::Mapping:Object. This kind of works, but it doesn't give me access
to attributes, multiple elements of the same name, or the type of the
root element in the xml document.
Let me re-phrase the question again, to be sure. I want to do the
following. First, connect to a webservice using soap4r
SOAP::RPC:river. Then call a function and recieve a response. I want
that response to be, or be turned into, something I can pass to rexml to
be parsed. Something like a Document object or a string of the xml
document.
Thanks for help.
Scott
While I wait for SOAP/SSL to be implemented I have another problem. I
have a web service running with many clients. The way it is set up is
that through a web interface the admin will change the configurations of
the clients. The clients will all have XML documents stored locally
containing their settings. When changes are made the web service will
send a new version of that XML document to the client VIA soap. My
problem is that I can't seem to embed the XML document into the SOAP
envelope and have it work on the other end. Many sites on the net say
to use a SOAP attachment, but this wont work for our purposes.
The best I've gotten it to do is have the response be a
SOAP::Mapping:Object. This kind of works, but it doesn't give me access
to attributes, multiple elements of the same name, or the type of the
root element in the xml document.
Let me re-phrase the question again, to be sure. I want to do the
following. First, connect to a webservice using soap4r
SOAP::RPC:river. Then call a function and recieve a response. I want
that response to be, or be turned into, something I can pass to rexml to
be parsed. Something like a Document object or a string of the xml
document.
Thanks for help.
Scott