Hi all - I'm playing with the WebServiceProxy, and the server I'm contacting does not generate an <?xml version="1.0"?> tag at the start of their response. Thusly, I get the following error:
Cocoon 2 - Internal server error type fatal message Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml description org.apache.cocoon.ProcessingException: Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml: org.apache.cocoon.ProcessingException: Invalid response - no xml sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Error invoking remote service: org.apache.cocoon.ProcessingException: Invalid response - no xml: org.apache.cocoon.ProcessingException: Invalid response - no xml at org.apache.cocoon.generation.WebServiceProxyGenerator.fetch(WebServiceProxyGenerator.java:278) at <snip-big-stack-trace/> Is there any way to get this to work, short of writing a servlet or PHP script to hit the remote server for me, and spit out the <?xml version="1.0"?> tag plus the rest of the data back to Cocoon? I don't have control over the remote server I'm contacting. If anyone really wants to see the 20 pages of stack trace, let me know and I'll post it. Here's my pipeline, BTW: <map:pipeline> <map:match pattern="metar"> <map:generate type="wsproxy" src="http://zowie.metnet.navy.mil/cgi-bin/oleg/get-obs?call_id=KMSP&do-retrieve=Retrieve"> <map:parameter name="wsproxy-method" value="POST"/> </map:generate> <map:serialize type="xml" /> </map:match> </map:pipeline> Regards, Tony Tony Collen -- [EMAIL PROTECTED] College of Liberal Arts University of Minnesota, Minneapolis, West Bank --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>