|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WBI Web Service Connectivity Issues |
« View previous topic :: View next topic » |
Author |
Message
|
fmv0202 |
Posted: Sun Jun 10, 2007 7:19 pm Post subject: WBI Web Service Connectivity Issues |
|
|
 Apprentice
Joined: 13 Dec 2006 Posts: 28
|
Name: WebSphere MQ
Version: 530.13 CSD13
CMVC level: p530-08-L040921
BuildType: IKAP - (Production)
Name: WBI MB v5 FP8
BIPv500 en US ucnv Console CCSID 437 dft ucnv CCSID 5348
OS cp1252 ICUW ibm-5348_P100-1997 ICUA ibm-5348_P100-1997
I'm creating a web service facade with the WBI MB and have come across a strange issue that I can't seem to figure out. Although, I've been looking at it now for about 12 hours Even better will be someone who explains in less then 5 seconds. I aspire to be that person. For now, I'm on this site trying to figure out what I'm missing. I'm getting a strange Null Pointer exception which looks like this:
java.lang.NullPointerException at com.ibm.broker.httplistener.ServletFunctions.processPost
I set the broker to listen to port 8001 (just for kicks) and I see the listener defined in the windows registry. (which I haven't decided to blow away yet) I also did a netstat and saw the 8001 listening.
HTTPInput Node is configured for: http://localhost:8001/MyFlow/*
This is defined in a project named: MyFlow
(not a rap video that's in my other forum)
I built it from the wsdl generation tool with the soap service defined as
with the soap address to be http://localhost:8001/MyFlow
Here's my pretty response:
Code: |
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.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:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) 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:512) </pre></p><HR size="1" noshade><h3>Apache Tomcat/4.1.12</h3></body></html> ]
|
Your's truly,
tired. |
|
Back to top |
|
 |
fmv0202 |
Posted: Sun Jun 10, 2007 7:57 pm Post subject: |
|
|
 Apprentice
Joined: 13 Dec 2006 Posts: 28
|
One more thing,
I looked at several examples and it stated that if the URL is:
http://<something>/path/tosSomething
I should configure the HTTPInput node as
/path or /path/*
am I reading this correctly? |
|
Back to top |
|
 |
marcin.kasinski |
Posted: Sun Jun 10, 2007 11:22 pm Post subject: |
|
|
Sentinel
Joined: 21 Dec 2004 Posts: 850 Location: Poland / Warsaw
|
Hi,
"/path" is correct version.
You mentioned it is WS facade. so it points to existing WS.
Error 500 means service is unavailable.
Have you tested it (destination WS) with any WS client ?
Can you describe your flow design ? _________________ Marcin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|