Error in consuming BusinessPartnerCRMElementsByElementsQueryResponse_In

Hi,
I am consuming the standard enterprise service "Find Business Partner Elements by Elements" with technical name "BusinessPartnerCRMElementsByElementsQueryResponse_In" in Webdynpro CE 7.1 .the service provider is CRM 7.0.
The response from the enterprise service contains a structure called categorycode as ,
<CategoryCode/>
This seems to throw an error in when we execute the application . The error we receive is
1. "Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value."
2. Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287)
The details of the exceptions are as follows
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details.) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1621) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.readSOAPResponseMessage(SOAPTransportBinding.java:278) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1120) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:779) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:746) at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73) ... 78 more Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details. at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1941) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1544) ... 84 more Caused by: com.sap.tc.cm.base.exception.BaseModelRuntimeException: Attribute value is not valid for attribute 'CategoryCode' of model class 'com.sap.demo.bpsearchwd.model1.BPCRMElmntRspBP' at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:327) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass.setAttributeForName(WSGenericModelClass.java:187) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass._setField(WSGenericModelClass.java:65) at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass._setField(WSTypedModelClass.java:141) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:642) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:573) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1920) ... 85 more Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287) at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:324) ... 97 more
Has anyone encountered this problems .? Any ideas on how to fix this would be very helpful.
Thanks and REgards
Bharathwaj

Hello Bharathwaj,
What is the value you are passing to CategoryCode as input ?
Please make sure that this field is of only 1 character length.
By looking at the exception you are getting
2. Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287)
this looks that more than 1 character is being filled to that field.
Thanks and Regards
Shankar

Similar Messages

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • Error while consuming Odata service from Gateway client i.e /iwfnd/gw_client

    Hello Experts.
       I am facing below an error while consuming the Odata service from GW client... The error is "No service found for the namespace /IWFND/,name ZTEST_STOREROOM_SRV,version 001". Even i have tried to deep dive in /IWFND/Error_log but no use..
      Actually what I was doing :- My aim is to connect multiple back end systems in the same server with the help of Aliasing concept.. I have created multiple aliases and added in the /IWFND/MAINT_Service transaction.. but i am not getting how to consume the service..
       I have followed the solution upto some extent in the link => Multiple Origin Composition - SAP NetWeaver Gateway Foundation (SAP_GWFND) - SAP Library
      Can you please let me know how to resolve this.. Also please let me know, the syntax for the URI...
      Your help is highly appreciated..
      Please find the screenshot attached.
    Thanks,
    Srinivas.

    Hello @Nrisimhanadh_Yandamuri
      Thanks for your reply..
      I have got all the required authorization.. But still I am not able to hit the service.. Please let me know what could be the solution..
    Thanks,
    Srinivas.

  • Getting error in consuming google webservices from JspDynPage

    Hi All,
    Getting following error while consuming google webservices from JspDynPage
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
    Code :
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    ResultElement[] results = result.getResultElements();          
    if(results != null) {
    response.write("<br> Search Result Size " +results.length );
    for (int i = 0; i < results.length; i++) {
    response.write((i + 1) + ": " + results);
    Thanks
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • Error while consuming "Find Business Partner Elements by Elements" service

    Hi,
    I am consuming the standard enterprise service "Find Business Partner Elements by Elements" with technical name "BusinessPartnerCRMElementsByElementsQueryResponse_In" in Webdynpro CE 7.1 . The service provider is CRM 7.0.
    The response from the enterprise service contains a structure called categorycode as ,
    <CategoryCode/>
    This seems to throw an error in when we execute the application . The error we receive is
    1. "Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value."
    2. Caused by: com.sap.dictionary.runtime.DdCheckException: Value  is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287) 
    The details of the exceptions are as follows
    com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Connection IO Exception. Check nested exception for details. (Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details.) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1621) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.readSOAPResponseMessage(SOAPTransportBinding.java:278) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1120) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:779) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:746) at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73) ... 78 more Caused by: com.sap.engine.services.webservices.espbase.client.bindings.exceptions.TransportBindingException: Parameter set failure. The runtime was not able to set some result parameter value. See nested exception for details. at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1941) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeResponse(SOAPTransportBinding.java:1544) ... 84 more Caused by: com.sap.tc.cm.base.exception.BaseModelRuntimeException: Attribute value is not valid for attribute 'CategoryCode' of model class 'com.sap.demo.bpsearchwd.model1.BPCRMElmntRspBP' at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:327) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass.setAttributeForName(WSGenericModelClass.java:187) at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClass._setField(WSGenericModelClass.java:65) at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass._setField(WSTypedModelClass.java:141) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:642) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readElement(InstanceBuilder.java:573) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readSequence(InstanceBuilder.java:1060) at com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder.readContent(InstanceBuilder.java:1208) at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:1318) at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.deserializeParameter(SOAPTransportBinding.java:1920) ... 85 more Caused by: com.sap.dictionary.runtime.DdCheckException: Value  is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287) at com.sap.tc.cm.base.model.BaseGenericModelClass.setAttributeValue(BaseGenericModelClass.java:324) ... 97 more
    Has anyone encountered this problems .? Any ideas on how to fix this would be very helpful.
    Thanks and Regards
    Bharathwaj

    Hi,
    Caused by: com.sap.dictionary.runtime.DdCheckException: Value is not valid; enter a value that consists of exactly 1 characters at com.sap.dictionary.runtime.DdTypeString.checkValid(DdTypeString.java:287)
    1       Person       The business partner is a natural person.
    2      Organization      The business partner is an organization.
    3      Group      The business partner is a group of natural persons or organizations.
    Are you setting any values to this?
    Regards
    Ayyapparaj

  • Error While Consuming BIP Webservice

    We are trying to consume BI Web service for Login validation and we are facing an issue in Java
    here is what we are doing
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    import java.net.MalformedURLException;
    import javax.xml.rpc.ServiceException;
    import java.net.URL;
    import javax.xml.rpc.ParameterMode;
    import org.apache.axis.encoding.XMLType;
    import java.rmi.RemoteException;
    public class BIPReportCall
         public static void main(String []a)
              try{
                   validateLogin();
              catch (Exception ex)
                   ex.printStackTrace();
    public static void validateLogin()
                   String bipEndpoint = "http://analytics01-ds1-d.dats.ml.com:9704/xmlpserver/services/PublicReportService";
                   String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
         //final String reportPath = "/Home/Users/shbhat/Sales.xdo";
                   Service service = new Service();
                   Call call = null;
                   try
                   call = (Call) service.createCall();
                   call.setTargetEndpointAddress(new URL(bipEndpoint));
                   System.out.println("TESTING login Service BEGIN");
                   call.setOperationName(new QName(bipNamespace, "validateLogin"));
         call.addParameter("userID", XMLType.XSD_STRING, ParameterMode.IN);
         call.addParameter("password", XMLType.XSD_STRING, ParameterMode.IN);
         call.setReturnType(XMLType.XSD_BOOLEAN);
         Boolean valid = (Boolean) call.invoke(new Object[] {"administrator", "Administrator"});
         if (valid) { System.out.println("user valid"); }
         else { System.out.println("user invalid");  }
         System.out.println("Success for validateLogin");
                   catch (ServiceException e)
                        e.printStackTrace();
                   } catch (MalformedURLException e)
                        e.printStackTrace();
                   catch(RemoteException e)
                        e.printStackTrace();
    Here is the Error that we are comming across , Please can some one help on this issue as i m very new to java
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
         at org.apache.axis.client.Call.invoke(Call.java:2515)
         at org.apache.axis.client.Call.invoke(Call.java:2210)
         at org.apache.axis.client.Call.invoke(Call.java:2133)
         at org.apache.axis.client.Call.invoke(Call.java:1656)
         at BIPReportCall.validateLogin(BIPReportCall.java:50)
         at BIPReportCall.main(BIPReportCall.java:19)
    java.lang.NullPointerException
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.client.Call.invoke(Call.java:2213)
         at org.apache.axis.client.Call.invoke(Call.java:2133)
         at org.apache.axis.client.Call.invoke(Call.java:1656)
         at BIPReportCall.validateLogin(BIPReportCall.java:50)
         at BIPReportCall.main(BIPReportCall.java:19)
    Caused by: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
         at org.apache.axis.client.Call.invoke(Call.java:2515)
         at org.apache.axis.client.Call.invoke(Call.java:2210)
         ... 4 more

    We are trying to consume BI Web service for Login validation and we are facing an issue in Java
    here is what we are doing
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    import java.net.MalformedURLException;
    import javax.xml.rpc.ServiceException;
    import java.net.URL;
    import javax.xml.rpc.ParameterMode;
    import org.apache.axis.encoding.XMLType;
    import java.rmi.RemoteException;
    public class BIPReportCall
         public static void main(String []a)
              try{
                   validateLogin();
              catch (Exception ex)
                   ex.printStackTrace();
    public static void validateLogin()
                   String bipEndpoint = "http://analytics01-ds1-d.dats.ml.com:9704/xmlpserver/services/PublicReportService";
                   String bipNamespace = "http://xmlns.oracle.com/oxp/service/PublicReportService";
         //final String reportPath = "/Home/Users/shbhat/Sales.xdo";
                   Service service = new Service();
                   Call call = null;
                   try
                   call = (Call) service.createCall();
                   call.setTargetEndpointAddress(new URL(bipEndpoint));
                   System.out.println("TESTING login Service BEGIN");
                   call.setOperationName(new QName(bipNamespace, "validateLogin"));
         call.addParameter("userID", XMLType.XSD_STRING, ParameterMode.IN);
         call.addParameter("password", XMLType.XSD_STRING, ParameterMode.IN);
         call.setReturnType(XMLType.XSD_BOOLEAN);
         Boolean valid = (Boolean) call.invoke(new Object[] {"administrator", "Administrator"});
         if (valid) { System.out.println("user valid"); }
         else { System.out.println("user invalid");  }
         System.out.println("Success for validateLogin");
                   catch (ServiceException e)
                        e.printStackTrace();
                   } catch (MalformedURLException e)
                        e.printStackTrace();
                   catch(RemoteException e)
                        e.printStackTrace();
    Here is the Error that we are comming across , Please can some one help on this issue as i m very new to java
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
         at org.apache.axis.client.Call.invoke(Call.java:2515)
         at org.apache.axis.client.Call.invoke(Call.java:2210)
         at org.apache.axis.client.Call.invoke(Call.java:2133)
         at org.apache.axis.client.Call.invoke(Call.java:1656)
         at BIPReportCall.validateLogin(BIPReportCall.java:50)
         at BIPReportCall.main(BIPReportCall.java:19)
    java.lang.NullPointerException
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)
         at org.apache.axis.client.Call.invoke(Call.java:2213)
         at org.apache.axis.client.Call.invoke(Call.java:2133)
         at org.apache.axis.client.Call.invoke(Call.java:1656)
         at BIPReportCall.validateLogin(BIPReportCall.java:50)
         at BIPReportCall.main(BIPReportCall.java:19)
    Caused by: java.lang.NullPointerException
         at java.util.Hashtable.put(Hashtable.java:396)
         at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
         at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2545)
         at org.apache.axis.client.Call.invoke(Call.java:2515)
         at org.apache.axis.client.Call.invoke(Call.java:2210)
         ... 4 more

  • Error while consuming external webservice URL in SAP

    Hello every one,
    I am getting below error in sap while consuming external web service URL .
    HTTP error (return code 405, message "Method Not Allowed")
    Can any one help me on this.
    Thank You.
    Vijay

    Hi Vijay,
    Did you check if you are using full correct UURL. That happens with incorrect URL.
    Thanks,
    Ravi

  • Getting error while consuming google webservice in jspDynpage

    Hi All,
    I am consuming google webservices in my JspDyn page
    i am getting following error
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application <b>com.company.global.enterprise.portal.wsdl.webservices.service.</b>
    Please help me to resolve this issue
    code ::
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    Thanks & Regards
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • Error While Consuming the webservice in ABAP

    Hi,
      I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")"
       Any help is appreciated.
    Thanks
    Raghavendra Kuamr

    Hi,
    Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
    Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
    Regards,
    Gourav
    PS: please search forum before posting questions.

  • Error in consuming a web service

    hi experts,
    i want to communicate to a non SAP legacy system from SAP system through web services. in this process the legacy system has released a web service which i am supposed to consume in SAP system but when i try to create proxy object and i put URL, it gives me error as 'HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED")'. whereas when i create a web service in sap(crm) and try to consume it in sap(r/3) it easily allows me to create proxy object when i put the URL.
    one thing i noticed is if i execute the report 'rswf_test_http' which tests http connection and give URL of web service created in sap it shows successful execution but if i give URL of legacy system web service it shows red signal with error 'HTTP-Receive: RC=400  ICM_HTTP_CONNECTION_FAILED'.
    please help me on this.
    thanks in advance,
    sagar.

    I am not passing any parameters to the method (it has no parameters).  On the ColdFusion side I do not use i1 anywhere.  I will check with the .net developer on Monday to see if he is using it anywhere in his code.  If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property.  All services with an ID property give me the same error message.

  • Error while consuming RFC in BPM

    Hi
    We are trying to consume an RFC as an automated task in the BPM model (NWDS, CE 7.2)
    We have followed all steps and configurations as per the document "How To... Use SOA Configuration to
    Call RFCs and Web Services from
    within SAP NetWeaver BPM"
    Used the Application communication instead of Business scenario as there was only one service.
    But the process is failing with the error ( starttestproc is process name, testsart1 is the pool name,ZBAPI_MATERIAL_STAT_UPDATE is teh service interface)
    com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_testsart1:AUTOMATED_ACTIVITY_mmcrt(
          com.sap.glx.adapter.BPMNAdapter:Token_0_testsrat1_d7b4bc02b531fc00c2446a59a349fb54 token,
          com.sap.glx.adapter.BPMNAdapter:Instance_0_testsrat1_d7b4bc02b531fc00c2446a59a349fb54 parent,
          com.sap.glx.adapter.internal.ContainerAdapter:Context_0_do_d7b4bc02b531fc00c2446a59a349fb54 context_1){
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E046953013BCEDE722E411E08D36A4BADBC41936", parent, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      callscope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_10_testsart1_d7b4bc02b531fc00c2446a59a349fb54(parent);
      call=new com.sap.glx.adapter.UnifiedConnectivityAdapter:Call_0_mmcrt_d7b4bc02b531fc00c2446a59a349fb54(callscope);
      request=callscope:instantiate
    com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "call:invoke()"
    com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:796)
    ... (11 more)
    com.sap.glx.core.kernel.api.TransitionException: com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name 03cda3e6-985c-40b7-bce1-89732abfe4c3, component name demo.sap.comstarttestprocBPMcomponent, application name demo.sap.com/starttestproc.
    com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:532)
    com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    ... (12 more)
    com.sap.glx.adapter.api.AdapterException: com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name 03cda3e6-985c-40b7-bce1-89732abfe4c3, component name demo.sap.comstarttestprocBPMcomponent, application name demo.sap.com/starttestproc.
    com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:156)
    com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    ... (14 more)
    com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name 03cda3e6-985c-40b7-bce1-89732abfe4c3, component name demo.sap.comstarttestprocBPMcomponent, application name demo.sap.com/starttestproc.
    com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:362)
    ... (17 more)
    com.sap.engine.interfaces.sca.spi.PluginException: Could not process message for operation ZBAPI_MATERIAL_STAT_UPDATE in JCO plugin module.
    com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:359)
    com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    ... (18 more)
    We are
    Edited by: Lavanya Sambaraju on Jan 19, 2011 12:41 PM
    We are able to ping the backend ECC from CE and vice versa.
    Any clues?
    Regards
    Lavanya

    Hi Anji,
    Thanks a lot!!!
    Now i am able to activate it but it is showing warning message "Parameter HEADER_DATA (type ZHEADER) can reduce performance in RFC.
    Can we remove this warning?
    I hope it will not affect the RFC.
    best regards

  • Error while consuming CAF Web Service in ABAP

    Hi experts,
    I need to consume a CAF Web Service in ABAP 7.0. While trying to generate the Proxy Object in SE80 it is thowing an error "Proxy generation terminated: WSDL error. (<extension> not supported)" and terminating the Proxy generation.
    Can anyone please help me out with the solution for this?
    Thanks in Advance.
    Vaishali.

    Hi,
    waiting for reply.....

  • Error While Consuming Public Web Service through Stand Alone Proxy

    Hi,
    I am getting the below error when I am consuming a public web service through Stand Alone Proxy.
    java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:159)
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:168)
         at com.mindtree.examples.WebServiceClient.main(WebServiceClient.java:18)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (407) Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied.  ).
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:903)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1346)
         at com.mindtree.examples.GlobalWeatherSoapStub.getCitiesByCountry(GlobalWeatherSoapStub.java:152)
         ... 2 more
    Regards,
    Venkatesh

    Hi,
    I am still facing the same issue.
    Regards,
    Venkatesh

  • Query: Authentication Error while consuming a web service

    Hi All,
    I've generted a WSDL file by using the following steps.
    1.Created a RFC enabled ABAP pgm
    2.Created a web service out of it (using webservice creation wizard - default virtual host. so my port is 8100)3.Released the web service (WSCONFIG)
    4.Generated the WSDL file (WSADMIN + CTRL F1).
    Then I wanted to consume it from a .Net program. But am getting authentication error in .Net.
    Do I need to configure anything for Authentication (username and password) from R/3 side?..
    How Do I pass the credential info from .Net?.
    Should I take care of any setup other than what I've specified?.
    Any Blogs or response would be appreciated.
    Thanks,
    Joe.

    Usually like this:
    WSReference1.WSPProxy proxy = new WSReference1.WSPProxy();
    proxy.Credentials = new System.Net.NetworkCredentials("Username", "Password");
    proxy.PreAuthenticate = true;
    proxy.CallMethod();

  • Proxy Error while consuming backend web service

    Hello,
    I try to consume erp backend web services (generated on existing rfcs) with a web dynpro (java) application and get the following error:
    Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (502) Proxy Error ( The ISA Server denied the specified Uniform Resource Locator (URL).  ). The requested URL was:"http://anyExampleUrl"
    The called backend service and the portal server reside in the network so no access through the ISA server is required. Consuming the same services by .NET applications works fine.
    Do you have any hints?
    Cheers, Dennis
    Edited by: Dennis Isaak on Sep 23, 2009 2:18 PM

    Hello there,
    Check the same webservice is working fine with a SOAP UI, especially the request and response are fine. Then try with the application.
    Regards,
    Vivek Nidhi.

Maybe you are looking for

  • Webutil-Problem (not the usual "PRE-FORM", "WHEN-NEW-FORM-INSTANCE" etc.)

    Hello, We have an application with lots of modules, where we use webutil to create text files on the client for data exports. The export is called in a WHEN-BUTTON-PRESSED Trigger and usually works fine, but we have the following problem: If two modu

  • Fileserver consistency checks failing 0x809909B0

    I have a file server with approx. 1.7TB of files which became inconsistent on the 8<sup>th</sup> of November, and has been unable to complete a consistency check since then.  Consistency checks fail with the error: The protection agent on <server> wa

  • Bill of exchange payable bank subaccount issue

    Hello I have configured BOE Payables, but unable to see the list of accepted BIlls of exchange from vendors. Please guide me whether how to define bank sub account for payables like we define for receivables. Regards Keyin.12345

  • An Error occurs when trying to display album art...PLEASE HELP!!

    whenever i try to check the box that says Display Album Artwork on your ipod..i press apply and it says the ipod cannot be updated.an unknown error has occured (-50).and ive been trying to make my artwork come back up for weeks. help?

  • Update Issues & Requested Features

    Hi Blackberry Community This is my feed back on the update 10.0.10.82 Positive: * The third party applications run more efficient than the previous version * The Consumption of the battery slightly decreased Negative: * There is a big lag when I type