ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WebService call to WBIMB returns error

Post new topic  Reply to topic
 WebService call to WBIMB returns error « View previous topic :: View next topic » 
Author Message
swaugh
PostPosted: Mon Jun 19, 2006 4:46 pm    Post subject: WebService call to WBIMB returns error Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 37

Hello,
I am using WBIMB version 5.0 functionality to explore web services. I have a message flow that has a http Input node, a compute node and Http reply node. I have published Web service using the WSDL message set.

I have created a web service client using the WSDL files and when i make a call to invoke the message flow, i get the following response

exception: [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html; charset=ISO-8859-1", must be: "text/xml". Response was: <html><head><title>Apache Tomcat/4.1.12 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.NullPointerException at com.ibm.broker.httplistener.ServletFunctions.processPost(ServletFunctions.java(Compiled Code)) at com.ibm.broker.httpservlet.WMQIServlet.doPost(WMQIServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java(Compiled Code)) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java(Compiled Code)) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java(Compiled Code)) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java(Compiled Code)) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:567) </pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.12</h3></body></html>

On further investigation, i am seeing the broker receiving the web service client request, but for some reason , its not able to hand over the message to the HTTP input node.

Any help on this is much appreciated.

Regards,
Swaugh
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Jun 19, 2006 9:14 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi swaugh,

Can you paste the input sample please.

Regards.
Back to top
View user's profile Send private message Send e-mail
swaugh
PostPosted: Tue Jun 20, 2006 10:32 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 37

hi elvis_gn,
here is the sample input message that i am sending it to the broker.

POST http://localhost:7080/svc3 HTTP/1.0
Host: localhost:7080
Content-Type: text/xml; charset=utf-8
Content-Length: 768
SOAPAction: "urn:a"

<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<ns1:WebServiceCategory xmlns:ns1="tns:WebServicesMsgSetPortType" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<HTTPInputBody xmlns:ns2="http://www.mrmnames.net" xsi:type="ns2:HTTPMessageType">
<URL xsi:type="xsd:string">Test</URL>
<InputData xsi:type="ns2:DataType">
<Data xsi:type="xsd:string">Test</Data>
</InputData>
<OutputData xsi:type="ns2:DataType">
<Data xsi:type="xsd:string">Test</Data>
</OutputData>
</HTTPInputBody>
</ns1:WebServiceCategory>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

hopefully thats what you wanted. Also I am seeing the data reaching the SYSTEM.BROKER.WS.INPUT queue. But the transfer of data from this queue to the HTTP input node is not happening.

thanks,
swaugh
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 20, 2006 1:13 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

So, your SOAP message consists of both InputData and OutputData as your Input message ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
swaugh
PostPosted: Wed Jun 21, 2006 10:42 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 37

Thats right vennela. i am just filling up input data segment.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WebService call to WBIMB returns error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.