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 Process Server (WID/WPS/WAS+) » Error sending SOAP/JMS from WPS to WMB

Post new topic  Reply to topic
 Error sending SOAP/JMS from WPS to WMB « View previous topic :: View next topic » 
Author Message
brokerDev
PostPosted: Tue Nov 06, 2007 9:01 am    Post subject: Error sending SOAP/JMS from WPS to WMB Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Hi,

I'm after some advice on troubleshooting a business process sending a SOAP/JMS message to message broker. I've created a business process and import component in WID. I have used a WSDL generated from Message broker to generate my import webservice binding.

When I attempt to test the module, the error I'm getting is -
00000066 JAXRPCHandler E com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler$3 onFault WSWS3418E: Error: Exception generated during handler fault processing.
[06/11/07 16:15:56:234 GMT] 00000064 JMSSender E WSWS3014E: Error creating InitialContext: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
[06/11/07 16:15:56:250 GMT] 00000064 PivotHandlerW E com.ibm.ws.webservices.engine.PivotHandlerWrapper invoke WSWS3180E: Error: Null response message.

What I'm tryuing to do is to pass a SOAP/JMS message from WPS to Message Broker. I am using MQ as the JMS messaging provider and have defined the JNDI entries and JMS objects. I am not getting as far as broker yet.

Platform is Windows XP
WID 6.0.2.2
WMQ 6.0.2.0
WMB 6.0.0.5

Has anyone come across this type of error when integrating WID/WMB?

The wsdl I'm using is -

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:jms="http://schemas.xmlsoap.org/soap/jms" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://tempuri.org/BkrMsgSet" xmlns:tns2="http://com.acme" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="BkrInput" targetNamespace="http://tempuri.org/BkrMsgSet">
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:mrm="http://tempuri.org/BkrMsgSet" targetNamespace="http://tempuri.org/BkrMsgSet">
<import namespace="http://com.acme" schemaLocation="acme.xsd"/>
</schema>
</wsdl:types>
<wsdl:message name="BkrMsgCat_in">
<wsdl:part element="tns2:ConRequest" name="ConRequest"/>
</wsdl:message>
<wsdl:portType name="BkrMsgSetPortType">
<wsdl:operation name="BkrMsgCat">
<wsdl:input message="tns:BkrMsgCat_in" name="BkrMsgCat_ConRequest"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="BkrMsgSetSOAP_JMS_Binding" type="tns:BkrMsgSetPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/jms"/>
<wsdl:operation name="BkrMsgCat">
<soap:operation/>
<wsdl:input name="BkrMsgCat_ConRequest">
<soap:body parts="ConRequest" use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WPS.WMB">
<wsdl:port binding="tns:BkrMsgSetSOAP_JMS_Binding" name="JMS">
<soap:address location="jms:/queue?destination=jms/ACME.INQ&amp;connectionFactory=jms/ACME.QCF&amp;targetService=WPS.WMB&amp;initialContextFactory=com.sun.jndi.fscontext.RefFSContextFactory&amp;jndiProviderURL=file:C:/JNDI-Directory/.bindings"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Thanks in advance[/code]
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 06, 2007 9:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

This error is telling you that it can't look up your Queue Destination or QCF in your JNDI.

It's naught to do with your WSDL.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
brokerDev
PostPosted: Tue Nov 06, 2007 1:05 pm    Post subject: Reply with quote

Acolyte

Joined: 21 Jun 2006
Posts: 53

Previoiusly I hadn't configured for JNDI via the admin console(I hadn't realised I needed to do that. I thought it was sufficient just to perform the JMSAdmin config for MQ). I have now configured on both admin console and via the JMSAdmin utility but am still getting some errors. Similar to those I was getting previously...

[06/11/07 20:51:07:969 GMT] 0000005b JMSSender E WSWS3014E: Error creating InitialContext: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]
[06/11/07 20:51:08:391 GMT] 0000005b ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionNotSupportedActivitySessionNotSupported" on bean "BeanId(toWMB2App#toWMB2EJB.jar#Module, null)". Exception data: com.ibm.websphere.sca.ServiceRuntimeException: <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Fault><faultcode>JMS</faultcode><faultstring>WSWS3014E: Error creating InitialContext: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.fscontext.RefFSContextFactory [Root exception is java.lang.ClassNotFoundException: com.sun.jndi.fscontext.RefFSContextFactory]</faultstring></soapenv:Fault></soapenv:Body>

Any suggestions welcome......I'm losing hope!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 06, 2007 1:09 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The error you're getting is very clear - it can't find the file system context classes for the JNDI InitialContext provider that you're trying to use.

It's just not clear why your code is trying to use the filesystem JNDI Initial Context Provider when the WPS JNDI is available...

You shouldn't be using JMSAdmin at all, if you're trying to deploy to the WAS/WPS JNDI.
_________________
I am *not* the model of the modern major general.
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 Process Server (WID/WPS/WAS+) » Error sending SOAP/JMS from WPS to WMB
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.