APAR status
Closed as program error.
Error description
Invoking a web service of a Java 2 Platform Enterprise Edition (J2EE) web project failed
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: Users of IBM WebSphere Application Server * * v7 Feature Pack for Service Component * * Architecture (SCA) Refresh Pack v1.0.1 * **************************************************************** * PROBLEM DESCRIPTION: Invoking a web service of a Java 2 * * Platform Enterprise Edition * * (J2EE) web project failed * **************************************************************** * RECOMMENDATION: * **************************************************************** Invoking a remote method using webservice binding would result in an exception from the RPC/webservice engine. org.xml.sax.SAXException: Bad types (interface javax.xml.soap.SOAPElement -> class Businessitems.CustomerApplication) Message being parsed: at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServ icesFault.java:299) at com.ibm.ws.webservices.engine.SOAPPart._getSOAPEnvelope(SOAPPart .java:1090) at com.ibm.ws.webservices.engine.SOAPPart.getAsSOAPEnvelope(SOAPPar t.java:628) at com.ibm.ws.webservices.engine.SOAPPart.getEnvelope(SOAPPart.java :656) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandlerChain .handleRequest(JAXRPCHandlerChain.java:301) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler.invo keServerRequestHandler(JAXRPCHandler.java:506) at com.ibm.ws.webservices.engine.handlers.jaxrpc.JAXRPCHandler$1.in voke(JAXRPCHandler.java:380)
Problem conclusion
The SOAP message constructed by using SDO would contain an unwanted xsi:type attribute in the child of the soap:body which does not comply to the binding style of document/literal. For example, in the SOAP message below, the <Input> element contains the unwanted xsi:type="ns:CustomerApplication". <soapenv:Envelope 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:Header> <EndpointReference xmlns:ns1="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:p="http://www.ibm.com/websphere/sibx/smo/v6.0.1" xmlns:ns0="http://www.ibm.com/websphere/sibx/smo/v6.0.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" xsi:type="ns1:EndpointReferenceType"> <ns1:Address> <span class="nobr"><a href="http://localhost:8080/WS_Web/services/PrimaryCreditReportS erviceElectronicPort">http://localhost:8080/WS_Web/services/Prim aryCreditReportServiceElectronicPort</a></span></ns1:Address> </EndpointReference> </soapenv:Header> <soapenv:Body> <creditReportServiceElectronic xmlns="http://Processes/ToBeProcesses/CreditReportService Elec tronicInterface"> <Input xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wr="http://www.ibm.com/xmlns/prod/websphere/sca/mul tip art/wrapper/6.0.0" xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ns0="http://Account%20Verification/Businessitems" xmlns="" xsi:type="ns0:CustomerApplication"> <customer> <customerID>I-734- 822-9</customerID> <companyName>I4</companyName> <customerAddress>Horbellerstrasse 1 </customerAddress> <customerCity>Munich</customerCity> <customerStateProvince>Bavaria</customerStateProvince> <customerCountry>Germany</customerCountry> <customerPostalCode>50858</customerPostalCode> <customerTaxID>3</customerTaxID> </customer> <creditReportRequired>true</creditReportRequired> </Input> </creditReportServiceElectronic> </soapenv:Body> </soapenv:Envelope> APAR PM07418 is currently targeted for inclusion in Service Level (Fix Pack) 1.0.1.3 of WebSphere Application Server v7 Feature Pack for Service Component Architecture (SCA) Refresh Pack. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Temporary fix
Comments
APAR Information
APAR number
PM07418
Reported component name
WAS SCA FEATURE
Reported component ID
5724J0854
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-02-11
Closed date
2010-02-22
Last modified date
2010-02-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WAS SCA FEATURE
Fixed component ID
5724J0854
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0.1","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022