Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAX-WS, Webservice Implementation fails to hit SoupUI

 
Parthasarathy balakrishnan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good Day Friends,

I am working in webservices JAXWS2.2.1-20100617 artifacts
Environment : IBM Websphere 6.1,
AIX 6.1,IBM Websphere Java

Calling Webservices i am getting following Error Logs :

[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R java.lang.UnsupportedOperationException: TODO
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.om.impl.dom.AttrImpl.getSchemaTypeInfo(AttrImpl.java:407)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.util.impl.XMLStreamReaderFromDOM.getAttributeType(XMLStreamReaderFromDOM.java:310)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.util.Reader.getAttributeType(Reader.java:129)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.getAttributeType(XMLStreamReaderWrapper.java:84)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.om.impl.builder.StAXBuilder.processAttributes(StAXBuilder.java:234)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNode(StAXSOAPModelBuilder.java:343)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:252)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElement(StAXSOAPModelBuilder.java:234)
[8/19/11 11:11:09:856 CDT] 00000045 SystemErr R at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.identifySOAPVersion(StAXSOAPModelBuilder.java:176)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:131)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:114)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axiom.soap.impl.builder.MTOMStAXSOAPModelBuilder.<init>(MTOMStAXSOAPModelBuilder.java:53)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.util.impl.SAAJConverterImpl.toOM(SAAJConverterImpl.java:141)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.impl.XMLPartImpl._convertSE2OM(XMLPartImpl.java:83)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.impl.XMLPartBase.getContentAsOMElement(XMLPartBase.java:209)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.impl.XMLPartBase.getAsOMElement(XMLPartBase.java:264)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.impl.MessageImpl.getAsOMElement(MessageImpl.java:483)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.message.util.MessageUtils.putMessageOnMessageContext(MessageUtils.java:197)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.prepareRequest(AxisInvocationController.java:364)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:81)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:317)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:159)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at $Proxy181.fxDealInq(Unknown Source)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at com.s1.ws.client.ConcreteFXDealInqWSClientService.getFxDealInq(ConcreteFXDealInqWSClientService.java:135)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at com.s1.fx.TradeFxMDBBeanBean.onMessage(TradeFxMDBBeanBean.java:82)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1014)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:747)
[8/19/11 11:11:09:857 CDT] 00000045 SystemErr R at $Proxy166.onMessage(Unknown Source)
[8/19/11 11:11:09:858 CDT] 00000045 SystemErr R at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:201)
[8/19/11 11:11:09:858 CDT] 00000045 SystemErr R at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:780)
[8/19/11 11:11:09:858 CDT] 00000045 SystemErr R at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:586)
[8/19/11 11:11:09:858 CDT] 00000045 SystemErr R at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:419)
[8/19/11 11:11:09:858 CDT] 00000045 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)


Line 135 in : ConcreteFXDealInqWSClientService.java:135 - About calling webservices method with required parameters.

Request generates in the console perfectly during invocation:

[8/19/11 11:11:09:760 CDT] 00000045 IPSOAPHandler I Outbound new SOAPMessage:<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ems="http://schemas.dbs.com/icc/ems" xmlns:op="http://schemas.dbs.com/icc/TrsyProdSvc" xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/FXDealInq_30_v1.2.xsd"><soapenv:Header><ems:EMSDetail mustUnderstand="false"><ems:MsgVersion>3.0</ems:MsgVersion><ems:MsgUID>I3-1313770269740</ems:MsgUID><ems:SvcVersion>3.0</ems:SvcVersion></ems:EMSDetail><ems:Trace mustUnderstand="false"><ems:RqDateTime>2011-08-19T11:11:09.742-05:00</ems:RqDateTime><ems:RqClient><ems:RqClientId>CIBP</ems:RqClientId><ems:RqClientOrg>2006</ems:RqClientOrg><ems:RqClientCtry>TWD</ems:RqClientCtry></ems:RqClient><ems:Operator><ems:OpLoginId>00000007990938</ems:OpLoginId><ems:OpRole>SYSTEM</ems:OpRole></ems:Operator></ems:Trace></soapenv:Header><soapenv:Body><ns2:FXDealInq xmlns:ns2="http://schemas.dbs.com/icc/TrsyProdSvc"><ems:CommonRq><ems:OrgCode>2006</ems:OrgCode><ems:ChannelId>97</ems:ChannelId><ems:RqSysRef>13</ems:RqSysRef></ems:CommonRq><ns2:TrailDetl><ems:OpId>TZ440</ems:OpId><ems:OpDateTime>2011-08-19T11:11:02.710-05:00</ems:OpDateTime></ns2:TrailDetl><ems:CustInternalId>7990938</ems:CustInternalId><ns2:BuyValueDate>2011-08-19-05:00</ns2:BuyValueDate></ns2:FXDealInq></soapenv:Body></soapenv:Envelope>


but the same request is not hitting SoupUI.
Response also fails.

Can any one suggest what is going wrong here:
org.apache.axiom.om.impl.dom.AttrImpl.getSchemaTypeInfo(AttrImpl.java:407)

Please let me know in case of further details.


Thanks in advance :
Parthasarathy Balakrishnan.



 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!