SimpleDeserializer encountered a child element..webservice error
when I invoke a webservice using Oracle stored procedure,I'm getting the fault response below :
HTTP response status code: 500
HTTP response reason phrase: Internal Server Error
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXException: SimpleDeserializer encountered a child element,
which is NOT expected, in something it was trying to deserialize.</faultstring><detail><ns1:hostname
xmlns:ns1="http://xml.apache.org/axis/">suznt266.qintra.com</ns1:hostname></detail></soapenv:Fault>
</soapenv:Body></soapenv:Envelope>
Any ideas about the cause and resolution?..
Thanks in advance!!!!
Regards,
Bhagat
If you posted the whole WSDL file, it would be more helpful.
I suppose your WSDL uses rpc/encoding. Both operations in your WSDL expects only one parameter of xsd:float. Well your client code passed an array float(new Object[] {new Float(3)}).
This should have caused the exception.
Similar Messages
-
URGENT! SimpleDeserializer encountered a child element, which is NOT expect
Hi all,
I am very new to web services.
I am calling a web service which is developed in .Net
Please help me out to solve the error as
"*SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize*"
My code is as below
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
public class CallingWebServiceClient
public static void main(String [] args)
try
String endpointURL =
"http://10.40.4.76/InSiteWebServices/WSNamedMaint.asmx";
String name = "ABC";
//Object serviceData = new Object();
//Object resultStatus = new Object();
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
call.setOperationName("RequestAllValues");
call.addParameter( name, XMLType.XSD_STRING, ParameterMode.IN);
//call.addParameter( "serviceData", XMLType.XSD_ANY, ParameterMode.OUT);
//call.addParameter( "resultStatus", XMLType.XSD_ANY, ParameterMode.OUT);
call.setProperty(call.SOAPACTION_USE_PROPERTY, new Boolean(true));
call.setProperty(call.SOAPACTION_URI_PROPERTY, "http://www.xyz.com/WebService/WSNamedMaint/RequestAllValues");
call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING );
String ret = (String) call.invoke( new Object[] { name } );
System.out.println("Value is : " + ret);
catch (Exception e)
System.err.println(e.toString());
}Please let me know the solution as soon as possible.
ThanksHi,
Regarding to the query which I have posted may have following possibility.
This error may be due to the arguments which it gives as the output, as some of those arguments are the object of some other class.
As the web service which I am trying to access is developed in .Net and requires three parameters, out of which one parameter named as "name" is input parameter while the other two are the output parameters, which web service provide as output. And may be the output which it provides may also be developed in .Net only and thats why while passing the input variable, it is not able to convert its output variable into the String.
Please provide your valuable comments and solution to that.
Thanks -
Good Morning Everyone,
I want to thank you for reading my problem and see if you can help me. The deadline for this project is monday and I am struggling to make it work. I am using axis 1.4 .
I created the web method
public void GetFilters( javax.xml.rpc.holders.BooleanHolder GetFiltersResult, CCRFiltersHolder CCRFilters,
javax.xml.rpc.holders.StringHolder Message, javax.xml.rpc.holders.StringHolder XMLData ){
First, I needed to create the CCRFilters as a CCRFiltersHolder because is an IN/OUT parameter.
public class CCRFiltersHolder implements javax.xml.rpc.holders.Holder{
public CCRFiltersList value;
public CCRFiltersHolder() {
public CCRFiltersHolder(CCRFiltersList value) {
this.value = value;
public class CCRFiltersList implements Serializable{
private CCRFilters[] filterList;
public CCRFilters[] getFilterList() {
return filterList;
public void setFilterList(CCRFilters[] filterList) {
this.filterList = filterList;
public CCRFilters getFilterList(int index) {
return filterList[index];
public void setFilterList(int index, CCRFilters filterList) {
this.filterList[index] = filterList;
public class CCRFilters implements Serializable {
private String FieldName;
private String RelationShip;
public String getFieldName() {
return FieldName;
public void setFieldName(String pFieldName) {
FieldName = pFieldName;
public String getRelationShip() {
return RelationShip;
public void setRelationShip(String pRelationShip) {
RelationShip = pRelationShip;
My wsdd file looks like:
<service name="CCR" provider="java:RPC" style="wrapped" use="literal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<parameter name="className" value="com.harris.mercury.gemsccrintegration.CCR"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="typeMappingVersion" value="1.2"/>
<namespace>http://tempuri.org/</namespace>
<parameter name="schemaUnqualified" value="http://www.gemsgov.com/CCR/"/>
<parameter name="wsdlServicePort" value="CCRPort"/>
<operation name="GetFilters" soapAction="http://www.gemsgov.com/CCR/GetFilters" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<parameter name="GetFiltersResult" type="xs:boolean" mode="OUT"/>
<parameter name="CCRFilters" mode="INOUT" type="rtns:CCRFiltersHolder" xmlns:rtns="http:////www.gemsgov.com/CCR/GetFilters"/>
<parameter name="Message" type="xs:string" mode="INOUT"/>
<parameter name="XMLData" type="xs:string" mode="INOUT"/>
</operation>
<typeMapping
xmlns:ns="http://www.gemsgov.com/CCR/GetFilters" qname="ns:CCRFiltersHolder"
type="java:com.harris.mercury.cashiering.gemsintegration.holder.CCRFiltersHolder"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns1="http://www.gemsgov.com/CCR/GetFilters" qname="ns1:CCRFiltersList"
type="java:com.harris.mercury.cashiering.gemsintegration.CCRFiltersList"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns2="http://www.gemsgov.com/CCR/GetFilters"
qname="ns2:CCRFilters"
type="java:com.harris.mercury.cashiering.gemsintegration.CCRFilters"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping xmlns:soapenc="http://www.gemsgov.com/CCR/GetFilters"
qname="soapenc:CCRFiltersArray"
type="java:com.harris.mercury.cashiering.gemsintegration.CCRFilters[]"
serializer="org.apache.axis.encoding.ser.ArraySerializerFactory"
deserializer="org.apache.axis.encoding.ser.ArrayDeserializerFactory"
encodingStyle=""
/>
</service>
Even in my test program, I added the following code :
Call call = (Call) service.createCall();
QName qn = new QName( "http://www.gemsgov.com/CCR/GetFilters", "CCRFiltersHolder" );
call.registerTypeMapping("com.harris.mercury.cashiering.gemsintegration.holder.CCRFiltersHolder".getClass(), qn,
BeanSerializerFactory.class, BeanDeserializerFactory.class);
QName qn4 = new QName( "http://www.gemsgov.com/CCR/GetFilters", "CCRFiltersList" );
call.registerTypeMapping(CCRFiltersList.class, qn4,BeanSerializerFactory.class, BeanDeserializerFactory.class);
QName qn1 = new QName( "http://www.gemsgov.com/CCR/GetFilters", "CCRFilters" );
call.registerTypeMapping(CCRFilters.class, qn1, BeanSerializerFactory.class, BeanDeserializerFactory.class);
QName qn3 = new QName( "http://schemas.xmlsoap.org/soap/encoding", "CCRFiltersArray" );
call.registerTypeMapping(CCRFilters[].class, qn3, new ArraySerializerFactory(), new ArrayDeserializerFactory());
But when running, everytime I get the following message : SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
Please any help whould be appreciate it.
Thanks a lot,
Martha
Edited by: Melliza on Sep 25, 2009 10:00 AMHi,
Regarding to the query which I have posted may have following possibility.
This error may be due to the arguments which it gives as the output, as some of those arguments are the object of some other class.
As the web service which I am trying to access is developed in .Net and requires three parameters, out of which one parameter named as "name" is input parameter while the other two are the output parameters, which web service provide as output. And may be the output which it provides may also be developed in .Net only and thats why while passing the input variable, it is not able to convert its output variable into the String.
Please provide your valuable comments and solution to that.
Thanks -
Hi All,
I created a following program using "GetReportDefintion" method provided by BI Publisher Web Services
package bip_webservices;
import com.oracle.xmlns.oxp.service.PublicReportService.ItemData;
import com.oracle.xmlns.oxp.service.PublicReportService.ReportRequest;
import com.oracle.xmlns.oxp.service.PublicReportService.ReportResponse;
import com.oracle.xmlns.oxp.service.PublicReportService.ParamNameValue;
import com.oracle.xmlns.oxp.service.PublicReportService.ReportDefinition;
import com.oracle.xmlns.oxp.service.PublicReportService.ScheduleRequest;
import com.oracle.xmlns.oxp.service.PublicReportService.DeliveryRequest;
import com.oracle.xmlns.oxp.service.PublicReportService.EMailDeliveryOption;
import java.io.FileOutputStream;
import java.io.OutputStream;
import java.net.MalformedURLException;
import java.rmi.RemoteException;
import java.util.Calendar;
import javax.xml.rpc.ServiceException;
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.encoding.ser.BeanDeserializerFactory;
import org.apache.axis.encoding.ser.BeanSerializerFactory;
import javax.xml.namespace.QName;
import javax.xml.rpc.ParameterMode;
import java.net.URL;
public class BIP_GetReportDefinition {
public static void main(String[] args) throws ServiceException, MalformedURLException, RemoteException{
try{
final String bipEndpoint = "http://localhost:9704/xmlpserver/services/PublicReportService?wsdl";
final String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
final String xdofile = "/MyReports/SummaryCustomerReport/SummaryCustomerReport.xdo";
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new URL(bipEndpoint));
System.out.println("BEGIN TESTING getReportDefinition");
// register the ReportDefinition class
QName reportDef = new QName(bipNamespace, "ReportDefinition");
call.registerTypeMapping(ReportDefinition.class, reportDef,
BeanSerializerFactory.class, BeanDeserializerFactory.class);
// register the ParamNameValue class
QName nmvals = new QName(bipNamespace, "ParamNameValue");
call.registerTypeMapping(ParamNameValue.class, nmvals, BeanSerializerFactory.class, BeanDeserializerFactory.class);
call.setOperationName(new QName(bipNamespace, "getReportDefinition"));
call.addParameter("reportAbsolutePath", XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter("userID", XMLType.XSD_STRING, ParameterMode.IN);
call.addParameter("password", XMLType.XSD_STRING, ParameterMode.IN);
call.setReturnClass(ReportDefinition.class);
// issue the request
ReportDefinition reportDefn = (ReportDefinition) call.invoke(
new Object[] { xdofile, "Administrator", "Administrator"});
System.out.println("Report Definition Returns with \n Default Output Format = " + reportDefn.getDefaultOutputFormat());
ParamNameValue params [] = reportDefn.getReportParameterNameValues();
if (params != null) {
for (int i = 0; i < params.length; i++) {
System.out.print("Parameter " + params.getName() + ":");
if (params[i].getValues() != null) {
for (int j = 0; j < params[i].getValues().length; j++)
System.out.print(" " + params[i].getValues()[j]);
} else
System.out.print(" null");
System.out.println(" - multiple values? " + params[i].isMultiValuesAllowed());
System.out.println("END TESTING getReportDefinition");
}catch(Exception e){
e.printStackTrace();
I am getting following exception message. Anyone has any ideas what could be the mistake ?
SEVERE: Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
{http://xml.apache.org/axis/}hostname:mildh0228
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.client.Call.invoke(Call.java:2470)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at bip_webservices.BIP_GetReportDefinition.main(BIP_GetReportDefinition.java:67)
Caused by: org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
... 3 moreThanks for giving this problem a look.
-SookieHi Sookie,
I found the problem is with couple of child parameters are not registered the deserializer. There're couple of additional classes needs to be registerd.
// register the TemplateLabelValue class
QName templateval = new QName(bipNamespace, "TemplateFormatLabelValue");
Class cls = TemplateFormatLabelValue.class;
call.registerTypeMapping(cls, templateval, BeanSerializerFactory.class, BeanDeserializerFactory.class);
// register the TemplateLabelValues class
QName templatevals = new QName(bipNamespace, "TemplateFormatsLabelValues");
cls = TemplateFormatsLabelValues.class;
call.registerTypeMapping(cls, templatevals, BeanSerializerFactory.class, BeanDeserializerFactory.class);
Could you please give it a try?
Thanks.
Yang -
SimpleDeserializer encountered a child element, which is NOT expected,
Hi All,
I created a webservice using JAVA.
Got WSDL for a SAP Funtional Module(BAPI_MATERIAL_SAVEDATA) and created Java Classes using (WSDL2Java -t XXX.wsdl ).
Wrote a Java Client Prog to invoke the services.
While Invoking the service from a Java Client program by Passing all the parameters,
and the parameters getting updated in SAP
BUT Getting the following Exception, not getting the response porperly:
AxisFault
faultCode: Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: SimpleDeserializer encountered a child e
lement, which is NOT expected, in something it was trying to deserialize.
faultActor:
faultNode:
faultDetail:
stackTrace:org.xml.sax.SAXException: Simple
Deserializer encountered a child element, which is NOT expected, in something it
was trying to deserialize.
at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDe
serializer.java:145)
at org.apache.axis.encoding.DeserializationContext.startElement(Deserial
izationContext.java:1035)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.ja
va:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElemen
t.java:1141)
at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:236)
at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384)
at org.apache.axis.client.Call.invoke(Call.java:2467)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at SAPClient.materialSaveData(SAPClient.java:700)
at SAPClient.main(SAPClient.java:427)
hostname:hp-2535
Cheers, all help would be greatly appreciated
VijayHi!
Resolved it, but don't see "resolved by myself" option. I was calling the wrong service. -
ERROR - The element 'MailboxSearchScope' in namespace has invalid child element 'ExtendedAttributes'
hi everyone,
i'm using exchange server 2013 and write following code for getting searchable mailboxes and getting emails from these searchable mailboxes but i'm getting following error on "SearchMailboxes" function.
Code:
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013);
service.Credentials = new WebCredentials("[email protected]", "test123");
service.AutodiscoverUrl("[email protected]", RedirectionUrlValidationCallback);
GetSearchableMailboxesResponse gsMBResponse = service.GetSearchableMailboxes("example*", false);
MailboxSearchScope[] msbScope1 = new MailboxSearchScope[gsMBResponse.SearchableMailboxes.Length];
Int32 mbCount1 = 0;
foreach (SearchableMailbox sbMailbox in gsMBResponse.SearchableMailboxes)
msbScope1[mbCount1] = new MailboxSearchScope(sbMailbox.ReferenceId, MailboxSearchLocation.PrimaryOnly);
mbCount1++;
SearchMailboxesParameters smSearchMailbox1 = new SearchMailboxesParameters();
MailboxQuery mbq1 = new MailboxQuery("attachment:'.xls'", msbScope1);
MailboxQuery[] mbqa1 = new MailboxQuery[1] { mbq1 };
smSearchMailbox1.SearchQueries = mbqa1;
smSearchMailbox1.PageSize = 1000;
smSearchMailbox1.ResultType = Microsoft.Exchange.WebServices.Data.SearchResultType.PreviewOnly;
service.TraceEnabled = true;
ServiceResponseCollection<SearchMailboxesResponse> srCol1 = service.SearchMailboxes(smSearchMailbox1);
ERROR:
The request failed schema validation: The element 'MailboxSearchScope' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types' has invalid child element 'ExtendedAttributes' in namespace 'http://schemas.microsoft.com/exchange/services/2006/types'."}
anyone have idea to solve this?
ThanksCheck to make sure you have the latest version of the managed API.
https://github.com/OfficeDev/ews-managed-api/ -
ORA-20000: env:Server - Cannot find child element: Calling Webservice
Hi,
I am using SOAP_API to call a webservice
I have a wsdl looks like:
- <xs:element name="InputParameter">
- <xs:complexType>
- <xs:sequence>
<xs:element name="input" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
But when I am calling the function its throwing Error:
ORA-20000: env:Server - Cannot find child element: {http://www.example.org/testwsdl/}InputParameter
Any help will be needful for me
Thanks and RegardsHi,
I am using SOAP_API to call a webservice
I have a wsdl looks like:
- <xs:element name="InputParameter">
- <xs:complexType>
- <xs:sequence>
<xs:element name="input" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
But when I am calling the function its throwing Error:
ORA-20000: env:Server - Cannot find child element: {http://www.example.org/testwsdl/}InputParameter
Any help will be needful for me
Thanks and Regards -
Error parsing envelope: Header child element must be namespace qualified
Hey all,
I'm creating a BPEL process that invokes a web service. The web service has an authenticate method that returns a session ID that I attempt to invoke. However, the process fails when trying to parse the response when invoking that operation. I checked the server logs and it's reporting the following: javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'ID' must be namespace qualified!
So I invoked the authenticate operation using SOAP UI, since it doesn't parse the response but merely displays it, and here's what was returned (slightly modified):
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
<ID>xxx</ID>
</soapenv:Header>
<soapenv:Body>
<ns1:SessionID xmlns:ns1="http://some-namespace">
<ns1:ID>xxx</ns1:ID>
</ns1:SessionID>
</soapenv:Body>
</soapenv:Envelope>
Indeed the ID tag in the header doesn't have a namespace prefix. Looking at the SOAP 1.1 spec it says, “A header entry is identified by its fully qualified element name, which consists of the namespace URI and the local name. All immediate child elements of the SOAP Header element MUST be namespace-qualified.”
I was told that the code for the web service is frozen and cannot be changed. Are there any ways around this problem? Is it possible for the BPEL process to not parse the SOAP header?
Thanks,
BillAll,
I think I might use a HeaderHandler to either strip the offending element from the header all together or modify it so that it's namespace qualified. The problem is, I can't find much documentation on it. The only thing I can find is this: Manipulating XML Data in BPEL section 3.19. It says to implement the HeaderHandler interface but doesn't give the fully qualified name of the interface. I'm guessing it's referring to com.collaxa.cube.ws.HeaderHandler. The invoke method that is defined in the interface is a little different than the one in the documentation. Mine has a signature of public void invoke(CXPartnerLink partnerLink, String operationName, Map payload, List list, Map map2)...what do these parameters represent and what key/value types do the maps have? It also says to register the handler in the bpel.xml deployment descriptor file but I can't find one - is it auto-generated? If so, where is it. If not, how do I generate it? I appreciate any information.
Thanks,
Bill -
APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VE
Hi.,
Getiing Error while running the quickpay request.
Application :11.5.10.2
Database :10.2.0.5
OS : HP UX
Error
HR_51118_HRPROC_ERR_OCC_ON_ASG
ASGNO 179279
APP-PAY-51118: Error was encountered when processing assignment 179279
HR_51119_HRPROC_ERR_OCC_ON_ET
ETNAME US_TAX_VERTEX
APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VERTEX
Invalid jurisdiction code found in primary work locationPlease see (Payroll Process Fails: FORMULA_ERROR_TEXT A compiled version of the formula 431 cannot be found Compiled Version of formula cannot be found [ID 358881.1]).
Thanks,
Hussein -
Com.bea.xml.XmlException error for "could not create child element"
In Workshop 9.2, after I created a project with XMLBeans Builder Builder against the xsd's and created a web service control against a wsdl, I inserted the control in a client project for consumption. However, when calling into a method of the control, I got a com.bea.xml.XmlException, saying "could not create child element" for an object parameter passed in the call to the method. The relevant info in the server console looks like this:
Caused by: com.bea.xml.XmlException: could not create child element 'wirelessPhoneNumber' for Wrapped XMLBean operation on '<?xml version="1.0" encoding="UTF-8
"?><m:sendSMSMessage xmlns:m="http://service.xyz.com/provider/mobile/abc/sendSMSMessage/200701/"><ns:behaviorVersion xmlns:ns="http://service.xyz.com/entity/message/2003/">0</ns:behaviorVersion><ns:custNbr xmlns:ns="http
://service.xyz.com/entity/party/2003/">Hello</ns:custNbr></m:sendSMSMessage>'
Does any have an idea what this is trying to tell me?
Thanks in advance for any help,
JasonLooking into it further, I think it's the parameter wirelessPhoneNumber, which is a complex type from xsd and a java object passed to the call sendSMSMessage, that is having a namespace problem, or other problem.
This parameter object was from XMLBeans java binding. I created and set it up like this before passing it to the call:
PhoneNumberType phoneNumberType = phoneNumberType.Factory.newInstance();
phoneNumberType.setFormat(PhoneNumberFormatEnum.FREEFORM);
phoneNumberType.setFullNumber(phoneNumber);
Obviously, com.bea.xbeanmarshal.buildtime.internal.util.XmlBeanUtil.createWrappedXBeanTopElement of XmlBeanUtil.java had a problem creating a wrapper element for it.
Any clue from anyone?
Jason -
Unable to process SOAP Header child element 'wsse:Security' with 'mustUnder
Hello everyone.
In have created project in Jdeveloper. In this one i have one external reference for Siebel Service.
At composite, for external reference service(Siebel Service) i have added a security policy i.e. *"oracle_wss_username_token_client_policy"*.
[Right click on SiebelService->configure WS policies->under security tab i have selected above policy]
So apart from this i have added property for the policy
<property name="oracle.webservices.auth.username" type="xs:string"
many="false" override="may">SADMIN</property>
<property name="oracle.webservices.auth.password" type="xs:string"
many="false" override="may">SADMIN</property>
But its returning following error,
Unable to process SOAP Header child element 'wsse:Security' with 'mustUnderstand="1"'(SBL-EAI-08000)
This really pushed back me in development.
Really i am in need of help. Help me out of this issue.
Thanks in advance,
ShridharUnable to process SOAP Header child element 'wsse:Security' with 'mustUnderstand="1"'(SBL-EAI-08000)The problem is at Siebel side. It is not able to understand the security mechanism being used at SOA side. There are two options -
1. Use the custom policy and assertion at SOA side (please refer to metalink note - 1419373.1)
2. Write your own custom message handler class and use it at Siebel side to negotiate security gap
Regards,
Anuj -
Mod_jk child workerEnv in error state
We're using apache2, tomcat 5 on a freebsd 5.3 machine. Starting apache we're having some "mod_jk child workerEnv in error state 30" error in our httpd-error.log. The error state number is increasing. Any clues?
Cheers,
MarcHi Asif,
I can submit other programs successfully.
Please find the SQL extraction below:
Conflict Resolution Manager
1
1
Internal Manager
1
1
Scheduler/Prereleaser Manager
1
1
Standard Manager
8
8
PO Document Approval Manager
2
2
Receiving Transaction Manager
1
1
PA Streamline Manager
1
1
Inventory Manager
1
1
INV Remote Procedure Manager
1
1
Workflow Agent Listener Service
1
1
Workflow Mailer Service
1
1
Transportation Manager
0
0
WMS Task Archiving Manager
0
0
C AQCART Service
0
0
Session History Cleanup
1
1
UWQ Worklist Items Release for Crashed session
1
1
SFM Controller Service
0
0
SFM Order Queue Service
0
0
SFM Work Item Queue Service
0
0
SFM Fulfillment Actions Queue Service
0
0
SFM Fulfillment Element Ready Queue Service
0
0
SFM Event Manager Queue Service
0
0
SFM Inbound Messages Queue Service
0
0
SFM Timer Queue Service
0
0
SFM Application Monitoring Service
0
0
SFM SM Interface Test Service
0
0
OAM Metrics Collection Manager
1
1
Workflow Document Web Services Service
1
1
Marketing Data Mining Manager
0
0
Output Post Processor
1
1
FastFormula Transaction Manager
0
0
Regards,
Yuvraj -
Child element of target node in message mapping getting suppressed
Hello All,
I am having mapping where i am trying to generate the target node based on some condition of the source structure ,this is working fine ,I am able to generate the target node once the condition gets satisfied ,but the problem is one of the child elements of the same node is not getting populated,its getting suppressed,i have some condition for the same
I checked the queues its showing value as
SUPPRESS
Value
Value ( in grey )
But still element is not getting generated..
I have added a condition used at the node function and apart from other condition of element..
If some body have the solution for the same,please help me out
Thanks in advance
RajeshHi Rajesh,
The Error is mostly cause of that the node and your child are in same context.
You got to remember that the parent node creates the context, and then the child element puts the value in it.
Try putting your child element to a higher context then mapwithdefault for your supress and then removecontext.
This Issue, you got to work it out with the node functions,
I had the same kind of issue in my mapping, it was rectified with the help of node functions as mapwithdefault, removecontext.
Further unless one sees the mapping of your issue it is a bit difficult to imagine it and answer it.
For more clarifications please give the full hierarchy, and the condition. As of now try with the node functions.
Thanks
Ashmi -
Header child element 'WSCorIDSOAPHeader' must be namespace qualified!
I have two machines. The first machine have an OSB managed server and admin server. The second machine have a SOA managed server, admin server and enterprise manager.
A service call in OSB is redirect do SOA Server (BPEL process).
After the route the follow message error show in SOA Server log.
INFO: FabricProviderServlet.stateChanged SOA Platform is running and accepting requests
javax.xml.soap.SOAPException: Error parsing envelope: most likely due to an invalid SOAP message.: Header child element 'WSCorIDSOAPHeader' must be namespace qualified!
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:137)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1572)
at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused By: javax.xml.soap.SOAPException: Header child element 'WSCorIDSOAPHeader' must be namespace qualified!
at oracle.j2ee.ws.saaj.soap.HeaderImpl.createChildElement(HeaderImpl.java:213)
at oracle.j2ee.ws.saaj.soap.ElementImpl.createAndAppendChildElement(ElementImpl.java:827)
at oracle.j2ee.ws.saaj.soap.StaxHandler.startElement(StaxHandler.java:222)
at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:82)
at oracle.j2ee.ws.saaj.soap.StaxHandler.staxParse(StaxHandler.java:70)
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.getStaXParsedEnvelope(AbstractSOAPImplementation.java:204)
at oracle.j2ee.ws.saaj.soap.AbstractSOAPImplementation.createEnvelope(AbstractSOAPImplementation.java:58)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:95)
at oracle.j2ee.ws.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:64)
at oracle.j2ee.ws.saaj.soap.MessageImpl.getSOAPBody(MessageImpl.java:1572)
at oracle.j2ee.ws.common.soap.SoapUtils.getSOAPBodyFirstChildQName(SoapUtils.java:249)
at oracle.j2ee.ws.server.mgmt.runtime.model.WebServiceOperationModelHelper.getOperationModelFromInputMessage(WebServiceOperationModelHelper.java:139)
at oracle.j2ee.ws.server.provider.ProviderPort.getOperationModelFromInputMessage(ProviderPort.java:986)
at oracle.j2ee.ws.server.mgmt.runtime.SuperServerInterceptorPipeline.handleRequest(SuperServerInterceptorPipeline.java:132)
at oracle.j2ee.ws.server.provider.management.AbstractProviderInterceptorPipeline.executeRequestInterceptorChain(AbstractProviderInterceptorPipeline.java:563)
at oracle.j2ee.ws.server.provider.ProviderProcessor.executeInterceptorRequestChain(ProviderProcessor.java:921)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:231)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:193)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:459)
at oracle.integration.platform.blocks.soap.FabricProviderServlet.doPost(FabricProviderServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
>
What is WSCorIDSOAPHeader ???Remove Introscope agend configuration temporarily from yours managed servers and try call the service.
This is the cause of your problem.
Contact your Introscope Administration and task about the problem of Introscope + OSB + BPEL (SOA Server).
Workaround:
Remove Introscope agend configuration temporarily from yours managed servers and try call the service. -
Un-nest XML with single child element
I'm trying to write a generic function for un-nesting child nodes where nesting is deemed unnecessary. Typically when the element only has one child element.
For example, given the following source....
<ROOT>
<ITEM>
<DESCRIPTION>TEST1</DESCRIPTION>
</ITEM>
<ITEM>
<DESCRIPTION>TEST2</DESCRIPTION>
</ITEM>
</ROOT>I actually want.....
<ROOT>
<DESCRIPTION>TEST1</DESCRIPTION>
<DESCRIPTION>TEST2</DESCRIPTION>
</ROOT>because we think ITEM isn't really required before we deliver XML data.
I've been trying to achieve this with a function, where I pass in the XPath to the node I want flattening, something like
function UnNest(pXMLData XMLType, pXPath varchar2) return XMLType...Called like the following...
declare
begin
vXMLData := UnNest(SomeXMLData, '/ROOT/ITEM')
end;I tried using XQuery Update (11gR2), as follows,
select /*+ no_xml_query_rewrite */
xmlquery('
copy $d := .
modify (
for $i in $d/ROOT/ITEM
return
replace node $i with $i/child::node()
return $d'
passing xmltype(
'<ROOT>
<ITEM>
<DESCRIPTION>TEST1</DESCRIPTION>
</ITEM>
<ITEM>
<DESCRIPTION>TEST2</DESCRIPTION>
</ITEM>
</ROOT>'
returning content) XML
from dual.... which works, but when I try to pass in a path variable, it doesn't.
select /*+ no_xml_query_rewrite */
xmlquery('
copy $d := .
modify (
for $i in $d/$Unnestpath
return
replace node $i with $i/child::node()
return $d'
passing xmltype(
'<ROOT>
<ITEM>
<DESCRIPTION>TEST1</DESCRIPTION>
</ITEM>
<ITEM>
<DESCRIPTION>TEST2</DESCRIPTION>
</ITEM>
</ROOT>'
'ROWSET/ROW' as "Unnestpath"
returning content) XML
from dual
ORA-19112: error raised during evaluation:
XVM-01020: [XPTY0020] The path step context item is not a node
6 replace node $i with $i/child::node()
- ^Am I missing something obvious?
My destination platform is 11gR2 64 bit but going forward I may need a solution for 10gR2 too. Perhaps there is another way without using XQuery Update? Any advice would be greatly appreciated.paul zip wrote:
when I try to pass in a path variable, it doesn't.Yes, paths are not variables, they have to be static. However, you can make the whole query dynamic.
Another option is XSLT, which will work on both releases, or a combination of extract/updatexml calls.
SQL> create or replace function UnNest(pXMLData XMLType, pXPath varchar2)
2 return XMLType
3 is
4 result XMLType;
5 xsl_template varchar2(2000) :=
6 '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
7 <xsl:template match="@*|node()">
8 <xsl:copy>
9 <xsl:apply-templates select="@*|node()"/>
10 </xsl:copy>
11 </xsl:template>
12 <xsl:template match="#TARGET_XPATH#">
13 <xsl:apply-templates select="node()"/>
14 </xsl:template>
15 </xsl:stylesheet>';
16
17 begin
18
19 select xmltransform(
20 pXMLData
21 , xmlparse(document replace(xsl_template, '#TARGET_XPATH#', pXPath))
22 )
23 into result
24 from dual ;
25
26 return result;
27
28 end;
29 /
Function created
SQL> set long 5000
SQL>
SQL> select unnest(
2 xmltype(
3 '<ROOT>
4 <ITEM>
5 <DESCRIPTION>TEST1</DESCRIPTION>
6 </ITEM>
7 <ITEM>
8 <DESCRIPTION>TEST2</DESCRIPTION>
9 </ITEM>
10 </ROOT>'),
11 '/ROOT/ITEM'
12 )
13 from dual;
UNNEST(XMLTYPE('<ROOT><ITEM><D
<ROOT>
<DESCRIPTION>TEST1</DESCRIPTION>
<DESCRIPTION>TEST2</DESCRIPTION>
</ROOT>
Typically when the element only has one child element.If it's a general rule to apply, XSLT can do it very easily on every node that satisfies this condition.
Edited by: odie_63 on 21 mai 2013 12:38
Maybe you are looking for
-
How to install windows 7 on Imac late 2009 using Vmware/Vbox
Hey guys. Here's the thing. I've installed Windows 8 on my imac late 2009 but then i realized that there's no bootcamp drivers for it (check image). everything works fine except for the video drivers that crash everytime when i install any driver (bo
-
Tax codes not flowing into the PO
Hi We are using EBP 4.0. We are using the classic scenario. In the EBP system we have defined the tax codes and done the mapping to the tax codes in the backend system. We are creating a shopping cart and entering a tax code.The tax value gets calcul
-
Problems with pdf prewiewing in photobook
hi to everybody. i'm new of the forum and i'm new of the mac's world. I dont speak english good....i'm sorry.....i've problem with photobook pdf prewiewing. I did it in safemode cause in normal mode i saw corruption of the pictures. Now the pixelatio
-
Flash Player 13 Macトラブルの修正アップデートは4月17日リリース予定です
4/17更新 一部のMacでプラグインエラーが起きるFlash Player 13.0.0.182の修正アップデート 13.0.0.201(Mac only)がリリースされました. ご注意! インストールの際は.インストーラ(及びFinder)以外のすべてのアプリケーションを終了してください. http://get.adobe.com/jp/flashplayer/ よりダウンロードできます. または.アーカイブページからスタンドアロンインストーラのダウンロードも可能です. http://hel
-
I redownloaded photoshop elements 12 but it won't let me reactivate can anyone help?
I reloaded photoshop but it won't let me I don't have access to the old computer.