Simple Netbean JBoss Webservice Error

Hi all,
I am deploying a simple Hello Web service to
jboss-4.0.4-GA server with bundled in the Netbean 5.5 IDE.
Deployment of webservice in the JBoss is ok , when i do
http://localhost:8080/HelloWebService/HelloWS?wsdl , i can see the
wsdl format.
And when accessing the webservice using Web Service Client in
Netbean , i can access the web service method without any error.
My problem is the when i tried to access the web service in normal
java class for example below:
Anyone have any ideas or suggestion , please email it to me , thanx
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceFactory;
public class TestWebService {
/** Creates a new instance of TestWebService */
public static void main(String [] args){
try{
String wsdlURL = "http://cxrus020:8080/HelloWebService/
HelloWS?wsdl";
String namespace = "urn:HelloWS/wsdl";
String serviceName = "HelloWS";
QName serviceQN = new QName(namespace, serviceName);
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(new
URL(wsdlURL), serviceQN);
QName portQname = new QName(namespace, "HelloWSSEIPort");
Call call = service.createCall(portQname);
call.setPortTypeName(portQname);
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
QName requestQname = new QName(namespace, "greet");
call.addParameter("String_1", requestQname,
javax.xml.rpc.ParameterMode.IN);
call.setReturnType(requestQname);
String ret = (String) call.invoke(new Object[]{"joshua
tat"});
System.out.println("ret:" + ret);
}catch(Exception ex){
ex.printStackTrace();
The wsdl file:
- <definitions name="HelloWS" targetNamespace="urn:HelloWS/wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:HelloWS/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types />
- <message name="HelloWSSEI_greet">
<part name="String_1" type="xsd:string" />
</message>
- <message name="HelloWSSEI_greetResponse">
<part name="result" type="xsd:string" />
</message>
- <portType name="HelloWSSEI">
- <operation name="greet" parameterOrder="String_1">
<input message="tns:HelloWSSEI_greet" />
<output message="tns:HelloWSSEI_greetResponse" />
</operation>
</portType>
- <binding name="HelloWSSEIBinding" type="tns:HelloWSSEI">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="greet">
<soap:operation soapAction="" />
- <input>
<soap:body namespace="urn:HelloWS/wsdl" use="literal" />
</input>
- <output>
<soap:body namespace="urn:HelloWS/wsdl" use="literal" />
</output>
</operation>
</binding>
- <service name="HelloWS">
- <port binding="tns:HelloWSSEIBinding" name="HelloWSSEIPort">
<soap:address location="http://cxrus020:8080/HelloWebService/HelloWS" />
</port>
</service>
</definitions>

Hi all,
I done further testing using live web service from xmethod.net.
I got the similar error as shown in my first posting.
Anyone have got any ideas ? Thanks
try{
String wsdlURL = "http://www.webservicemart.com/uszip.asmx?WSDL";
String namespace = "http://webservicemart.com/ws/";
String serviceName = "USZip";
QName serviceQN = new QName(namespace, serviceName);
//String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
ServiceFactory serviceFactory = ServiceFactory.newInstance();
Service service = serviceFactory.createService(new URL(wsdlURL), serviceQN);
//QName portQname = new QName(namespace, "HelloWSSEIPort");
Call call = service.createCall();
call.setOperationName(new QName(namespace, "ValidateZip"));
call.setProperty(Call.ENCODINGSTYLE_URI_PROPERTY, "");
call.addParameter("ZipCode",serviceQN,javax.xml.rpc.ParameterMode.IN);
call.setReturnType(serviceQN);
String ret = (String) call.invoke(new Object[]{"123456"});
System.out.println("ret:" + ret);
}catch(Exception ex){
ex.printStackTrace();
}

Similar Messages

  • Netbeans: JBoss installation

    Hello world,
    is there someone that explain me in few words how i can install JBoss in Netbeans?
    I've read this item http://www.netbeans.org/kb/50/jboss-getting-started.html#installthesoftware
    but I haven't understood nothing.
    Help me please.

    Ok, I don't know how to install JBoss Application Server in Netbeans, but i know how to setup.
    1) Tool > Server Manager
    2) Add Server
    3) Server: JBoss Application Server 4
    4) Installation location: C:\jboss-4.0.4.GA
    5) Then you should able to select the server instance, port, etc.
    I have tested in Netbeans 5.5 Beta 2, JBoss Application Server 4.0.4.GA.
    Check version of your Netbeans, JBoss App Server.

  • Webservice error......

    Hi,
    I am getting the below error when i am calling webservice from SOAP UI client, i have authorization of SAP_ALL and SAP_NEW.
    Your help would be appreciated.
    Thanks in advance.
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Header/>
       <soap-env:Body>
          <soap-env:Fault>
             <faultcode>soap-env:Server</faultcode>
             <faultstring xml:lang="en">CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000.Value  is not a valid date in accord with the XML format for ABAP</faultstring>
             <detail>
                <ns:SystemFault xmlns:ns="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/">
                   <Host>undefined</Host>
                   <Component>APPL</Component>
                   <ChainedException>
                      <Exception_Name>CX_SOAP_CORE</Exception_Name>
                      <Exception_Text>CX_SY_CONVERSION_NO_DATE_TIME:XSLT exception.An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000.Value  is not a valid date in accord with the XML format for ABAP</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_SXMLP</Exception_Name>
                      <Exception_Text>XSLT exception</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_ST_DESERIALIZATION_ERROR</Exception_Name>
                      <Exception_Text>An error occurred when deserializing in the simple transformation program /1BCDWB/WSS0060807205412435000: Main Program:/1BCDWB/WSS0060807205412435000| Program:/1BCDWB/WSS0060807205412435000| Line: 25| Valid:X</Exception_Text>
                   </ChainedException>
                   <ChainedException>
                      <Exception_Name>CX_SY_CONVERSION_NO_DATE_TIME</Exception_Name>
                      <Exception_Text>Value  is not a valid date in accord with the XML format for ABAP</Exception_Text>
                   </ChainedException>
                </ns:SystemFault>
             </detail>
          </soap-env:Fault>
       </soap-env:Body>
    </soap-env:Envelope>

    Hi Ashok,
                  looks like there is a mismatch in the Date and Time format being used by the server side program and the payload you are sending via SOAP UI client. To make sure that there is a consistency in the format please check the standard format for Date/Time in XML standards.
    Given below is a reference:
    http://www.w3schools.com/Schema/schema_dtypes_date.asp
    In short the Date-Time should be specified in UTC format as 'YYYY-MM-DDThh:mm:ss' where
    YYYY - indicates the year
    MM -  indicates the month
    DD - indicates the day
    T - indicates the start of the required time section
    hh - indicates the hour
    mm - indicates the minute
    ss - indicates the second
    There are certain variations to specify the Time zones etc. The details you can find in the above link or by googling "UTC time format".
    Please do get back if you still didn't get it solved.
    Regards
    Barada.

  • Webservice Errors

    Hello,
    I'm currently running Oracle 9i (9.2.0.1).
    I'm also using JDeveloper 10g Preview version.
    Please note: I'm actually a Microsoft C#/SQL Server developer, however, I'm using oracle to test consuming a webservice I wrote in .NET. I'm relativly new to Oracle, but I have experience in programming Java.
    Here's the problem: Using JDeveloper, I used one of the tools to create a stub/skeleton class from the WSDL of my webservice.
    I then created my own simple class with a static function to call this stub/skeleton class in order to interact with the webservice.
    This works fine.
    Now I want to load these two classes into Oracle so that I can consume the webservice from a PL/SQL Wrapper in a storedprocedure/function.
    This is where the problem begins.
    When using the loadjava utility with -resolve, I get errors because various dependent classes are missing. It seemd like most of these classes were from org/apache/soap... so I located soap.jar and tried to load this into oracle.
    When doing this, it started off OK, but then I got a whole bunch of "ORA-29534: referenced object could not be resolved" errors.
    I then did a dependency check in JDeveloper and noticed a bunch of classes that were required. SO, after hunting down these classes in the jdeveloper directories, i finally got all the JAR files that I needed. (is there an easier way to do this?).
    Anyways - now when I try to loadjava -resolve with these classes, most work, however some give errors.
    SO, whats going on here!? How do I go about properly loading the classes/jar files needed when creating a simple web-service call from java?
    Also: I noticed my version of Oracle runs JVM 1.3.x, and jdeveloper 10g is using JVM1.4.x... could this be an issue? Because I also noticed some "invalid class" errors when trying to load some of the required jdeveloper classes.
    Anyways - some help would be GREATLY appreciated. I'm simply tring to: Call a web-service from a PL/SQL wrapped java class.
    Thanks in advance for any assistance (and sorry for the long post!).

    Hi,
    Have you loaded the full Client SOAP stack that is necessary to enable your database to call web services?
    see http://otn.oracle.com/sample_code/tech/java/jsp/loadjars.html
    What version of the database are you using?
    Rgds
    Susan
    JDeveloper PM

  • PB 12.5.1 WCF Webservice Error 415

    Greetings all,
    I’m developing a WCF webservice in PB.net 12.5.1. I can execute the webservice using the WCF Test Client, but when my customer tries to call it, we get an http 415 error. The incoming call is a straight XML call, no soap, hence the WCF service. I’ve tried several iterations of changes in the web.config file to no avail.
    The actual error that we see using WireShark is:
    29  4.423768 192.168.0.204     11.111.11.111     HTTP      HTTP/1.1 415 Cannot process the message because the content type 'application/xml;charset=utf-8' was not the expected type 'text/xml; charset=utf-8'.  (text/html)
    According to some documentation on msdn, this means the following: “in my hosting code it turned out that I was using ServiceHost instead of WebServiceHost to host my WCF WebHttp service”. I have no idea what this means, or where to look for, or correct this setting. Here’s my web.config for the service. Any help would be much appreciated.
    Thanks!!
    Paul
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
      <system.serviceModel>
        <bindings>
          <webHttpBinding>
            <binding name="webHttpBindingConfig">
              <security mode="None">
              </security>
            </binding>
          </webHttpBinding>
        </bindings>
        <services>
          <service name="Sybase.PowerBuilder.WCFNVO.directconnect" behaviorConfiguration="ServiceNameBehavior">
            <endpoint address="" binding="webHttpBinding" contract="Sybase.PowerBuilder.WCFNVO.directconnect" bindingNamespace="http://rti.flytetymelimo.com/_WCFService" bindingConfiguration="webHttpBindingConfig" behaviorConfiguration="web" />
            <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
          </service>
        </services>
        <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
        <behaviors>
          <serviceBehaviors>
            <behavior name="SimpleServiceBehavior">
              <serviceMetadata httpGetEnabled="True" policyVersion="Policy12" />
              <serviceDebug includeExceptionDetailInFaults="True" />
            </behavior>
            <behavior name="ServiceNameBehavior">
              <serviceMetadata httpGetEnabled="True" />
              <serviceDebug includeExceptionDetailInFaults="True" />
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="web">
              <webHttp />
            </behavior>
          </endpointBehaviors>
        </behaviors>
      </system.serviceModel>
    </configuration>

    That error indicates a binding mismatch between the caller and the service.  You're using the webHttpBinding, and the caller is asking for basicHttpBinding.
    I followed these instructions pretty much to the letter (just created a simple "Hello World" function though...) and it worked like a charm.  My web.config file definitely says "basicHttpBinding"...
    http://www.displacedguy.com/tech/creating-a-powerbuilder-12-5-wcf-web-service-deploying-to-iis-start-to-finish/
    One note:  I found the wcftestclient.exe file in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE, not 10.0.
    -Paul-

  • BottomUp WebService Error: java.lang.InstantiationException

    Hello,
    I created a BottomUp Webservice from a java class, that calculates the difference out of two given int values. When I deploy the WebService and the client to the WAS 7.1 it's not working, I get the error shown below. I changed the Java settings of the Project to JDK Compliance 1.4, rebuild the project, recreated the .ear and deployed it to a WAS 7.0 system, it's working fine!
    My next step was, to remove the project out of NWDS and to create a TopDown Webservice out of the WSDL I downloaded from the BottomUp WebService (the one which is not working) I deployed to WAS 7.1 I modified the Java code, rebuild the project and redeployed it to WAS 7.1 and it's working now.
    Has any one a idea why a BottomUp WebService is not working in WAS 7.1? The only difference I see between a BottomUp and TopDown Webservice is, that during the creation of the TopDown WebService some additional Stubs, Skeleteon and Interface files are being created, but nevertheless the BottomUp WebService works fine in WAS 7.0
    Thanks Holger
    "Application error occurred during the request procession."
    Details:     
    AxisFault
    faultCode: Server.userException
    faultSubcode:
    faultString: java.lang.InstantiationException: holger.CalculateDifference
    faultActor:
    faultNode:
    faultDetail:
         hostname:akvavit
    java.lang.InstantiationException: holger.CalculateDifference
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(XMLNSDocumentScannerImpl.java:719)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at holger.CalculateDifferenceSoapBindingStub.theDifferenceIs(CalculateDifferenceSoapBindingStub.java:108)
         at holger.CalculateDifferenceProxy.theDifferenceIs(CalculateDifferenceProxy.java:45)
         at JEE_jsp_ZsWebServiceResult_3972250_1172250927328_1172250967765._jspService(JEE_jsp_ZsWebServiceResult_3972250_1172250927328_1172250967765.java:71)
         at com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase.service(JspBase.java:102)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:403)
         at com.sap.engine.services.servlets_jsp.server.servlet.JSPServlet.service(JSPServlet.java:232)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:59)
         at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:31)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:408)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:278)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:504)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:482)
         at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:65)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:67)
         at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
         at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
         at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
         at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:279)
         at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:211)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:133)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:221)

    Hello,
    the source is quite simple:
    package holger;
    public class CalculateDifference implements java.io.Serializable{
        public int theDifferenceIs (int a, int b) {
            return a-b;
    How can I attach the .ear file? I don't see this possibility here.
    Best regards
    Holger

  • NC Log Complete webservice error

    Hello,
    Before opening an OSS message, the rule is first ask the forum...
    So I have trouble with NC Log Complete webservice. When trying to invoke it from SOAP UI, I got the following error :
    No enum const class com.sap.me.nonconformance.ScrapOption
    When looking into the log, I see a nice Java dump, here is an extract...
    [EXCEPTION]
    javax.ejb.EJBException: (Failed in component: sap.com/meear) Exception raised from invocation of public com.sap.me.frame.Data com.sap.me.xchange.ProductionFacadeSOBean.processNCLogCompleteMessage(com.sap.me.frame.Data,com.sap.me.frame.Data) throws com.sap.me.frame.BasicBOBeanException method on bean instance com.sap.me.xchange.ProductionFacadeSOBean@4e115fd7 for bean sap.com/meearxml|me.integration.xml.ejb-5.2.5.8-Base.jarxml|ProductionFacadeSO in application sap.com/me~ear.; nested exception is: com.sap.me.frame.mapping.data.MappingException: java.lang.reflect.InvocationTargetException
    Caused by: java.lang.IllegalArgumentException: No enum const class com.sap.me.nonconformance.ScrapOption.
    at java.lang.Enum.valueOf(Enum.java:196)
    at com.sap.me.nonconformance.ScrapOption.valueOf(ScrapOption.java:33)
    at com.sap.me.nonconformance.ScrapOption.fromValue(ScrapOption.java:44)
    ... 121 more
    Anyone has an idea ?
    If I submit the request though the production XML jsp page, with same parameter as in my SOAP UI request, it's ok.
    We are using ME 5.2.5.8.
    Thanks

    Hi  Mikhail
    I don't pass any scrap option, and I don't see any "scrap option" field in the WS definition...
    I see a ScrapComponentOption, but which is optional as I can see in the "documentation" (example will be nice anyway in the document)
    <me:ScrapComponentOption>
    When the disposition function Scrap is selected or a Scrap step is selected, this is the selected scrap option. Required if disposition function or selected step is a scrap step with multiple scrap options and components are assembled onto the current SFC.
    It's not clear what should go there and if I need to put something in...
    I know the request is quite complex and will not be displayed in a friendly format, but here it is...
    <br><br>
    &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME" xmlns:gdt="http://sap.com/xi/SAPGlobal/GDT"&gt;
       &lt;soapenv:Header/&gt;
       &lt;soapenv:Body&gt;
          &lt;me:NCLogCompleteRequest_sync&gt;
             &lt;!Optional:&gt;
             &lt;me:MessageHeader&gt;&lt;/me:MessageHeader&gt;
             &lt;me:NCLogCompleteRequest&gt;
                &lt;me:SiteRef&gt;
                   &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                &lt;/me:SiteRef&gt;
                &lt;me:NcIncidentDone&gt;
                   &lt;me:ActivityRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Activity languageCode="?"&gt;GYFFL2_NC&lt;/me:Activity&gt;
                   &lt;/me:ActivityRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:DateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ResourceRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                   &lt;/me:ResourceRef&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:TotalDefectCount unitCode="?"&gt;1&lt;/me:TotalDefectCount&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ScrapComponentOption languageCode="?"/&gt;
                   &lt;me:SiteRef&gt;
                      &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                   &lt;/me:SiteRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcBeginDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:NcBeginDateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcCodeRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:NcCode languageCode="?"&gt;C11701&lt;/me:NcCode&gt;
                   &lt;/me:NcCodeRef&gt;
                   &lt;me:NcContext&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                   &lt;/me:NcContext&gt;
                   &lt;!1 or more repetitions:&gt;
                   &lt;me:NcData&gt;
                      &lt;!You may enter the following 4 items in any order&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                      &lt;me:Sequence unitCode="?"/&gt;
                      &lt;me:IncidentDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:IncidentDateTime&gt;
                   &lt;/me:NcData&gt;
                   &lt;me:NcEndDateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:NcEndDateTime&gt;
                   &lt;me:NcOwner&gt;
                      &lt;!Optional:&gt;
                      &lt;me:ResourceRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                      &lt;/me:ResourceRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                   &lt;/me:NcOwner&gt;
                &lt;/me:NcIncidentDone&gt;
                &lt;me:NcLog&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ActivityRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Activity languageCode="?"&gt;GYFFL2_NC&lt;/me:Activity&gt;
                   &lt;/me:ActivityRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:Component&gt;
                      &lt;!You may enter the following 3 items in any order&gt;
                      &lt;me:Item&gt;SL-CT00035&lt;/me:Item&gt;
                      &lt;!Optional:&gt;
                      &lt;me:Revision&gt;0010&lt;/me:Revision&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                   &lt;/me:Component&gt;
                   &lt;me:ComponentSfc&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                   &lt;/me:ComponentSfc&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DateTime timeZoneCode="?" daylightSavingTimeIndicator="?"&gt;2011-03-25T14:51:01.001Z&lt;/me:DateTime&gt;
                   &lt;!Optional:&gt;
                   &lt;me:DefectCount unitCode="?"&gt;1&lt;/me:DefectCount&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:FailureId languageCode="?"&gt;CURED&lt;/me:FailureId&gt;
                   &lt;!Optional:&gt;
                   &lt;me:NcCodeRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:NcCode languageCode="?"&gt;C11701&lt;/me:NcCode&gt;
                   &lt;/me:NcCodeRef&gt;
                   &lt;me:NcContext&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SfcRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;me:Sfc&gt;6940855067&lt;/me:Sfc&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                      &lt;/me:SfcRef&gt;
                   &lt;/me:NcContext&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;CLASSIFICATION&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;SCRAP&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;DISPOSITION_GROUP&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;ALL&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcCustomData&gt;
                      &lt;me:Attribute languageCode="?"&gt;DISPOSITION_TYPE&lt;/me:Attribute&gt;
                      &lt;me:Value languageCode="?"&gt;S&lt;/me:Value&gt;
                   &lt;/me:NcCustomData&gt;
                   &lt;me:NcOwner&gt;
                      &lt;!Optional:&gt;
                      &lt;me:ResourceRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                      &lt;/me:ResourceRef&gt;
                      &lt;!Optional:&gt;
                      &lt;me:UserRef&gt;
                         &lt;!You may enter the following 2 items in any order&gt;
                         &lt;!Optional:&gt;
                         &lt;me:SiteRef&gt;
                            &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                         &lt;/me:SiteRef&gt;
                         &lt;me:UserId&gt;NGIE602&lt;/me:UserId&gt;
                      &lt;/me:UserRef&gt;
                   &lt;/me:NcOwner&gt;
                   &lt;me:OperationRef&gt;
                      &lt;!You may enter the following 3 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Operation&gt;PRS&lt;/me:Operation&gt;
                      &lt;me:Revision&gt;A&lt;/me:Revision&gt;
                   &lt;/me:OperationRef&gt;
                   &lt;!Optional:&gt;
                   &lt;!Optional:&gt;
                   &lt;me:Quantity&gt;1&lt;/me:Quantity&gt;
                   &lt;!Optional:&gt;
                   &lt;me:ResourceRef&gt;
                      &lt;!You may enter the following 2 items in any order&gt;
                      &lt;!Optional:&gt;
                      &lt;me:SiteRef&gt;
                         &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                      &lt;/me:SiteRef&gt;
                      &lt;me:Resource schemeID="?" schemeAgencyID="?"&gt;C28L&lt;/me:Resource&gt;
                   &lt;/me:ResourceRef&gt;
                   &lt;!Optional:&gt;
                   &lt;me:SiteRef&gt;
                      &lt;me:Site&gt;SISL&lt;/me:Site&gt;
                   &lt;/me:SiteRef&gt;
                &lt;/me:NcLog&gt;
             &lt;/me:NCLogCompleteRequest&gt;
          &lt;/me:NCLogCompleteRequest_sync&gt;
       &lt;/soapenv:Body&gt;
    &lt;/soapenv:Envelope&gt;
    <br><br>Thanks

  • Proxy to webservice error while posting

    Dear Experts,
    I have a asynchronous Proxy to Webservice scenario.
    I am getting an error in receiver communication channel.
    1> ......Message processing started
    2> .......request entering
    3>........call completed
    4> .......error in response
    5> ......   Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP:response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
    My queries are
    if this is Asynchronous scenarion, why I am getting a point 4?    WSDL is of Sync type but I am using it as Async.
    what can be done to remore this error descripted above.
    Please help me to sort out his issue.
    Regards,
    Sumit Gupta

    Though you are calling the service asynchronously, in case of errors the fault message would be reported back by the adapter. I do not think you can get rid of this error unless you find the cause of the error and clear it. The object reference not set to an instance of an object usually comes in dot net services for not properly initializing an object of a class.
    VJ

  • Reg: webservices  error  in  xi

    Hi ,
    Iam new to xi and  had developed a http to web service scenario and the response i got an error
    Result:  
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText></SAP:Error>
    so in the receiver soap adapter  in module tab  i have given
    Module name - localejbs/AF_Modules/MessageTranspormationBean
    Type - Local Enterprise Bean Module - This is defined by the user, but the same name should be given in the module configuration for passing the parameters. In this case “transform” In the module configuration ,
    Module key - In this case “transform”
    Parameter name - TransformContenType
    Parameter Value - text/xml;charset=utf-8
    I got an error
    Result:  
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: local bean not found: localejbs/AF_Modules/MessageTranspormationBean</SAP:AdditionalText></SAP:Error>
    the websevice is
    http://www.webservicex.net/SendSMS.asmx?op=SendSMSToIndia
    Could any one help me out.
    Thanks & Regards,
    Gangadhar.S

    Hi Gangadhar
    If you are  new to SAP XI , then its better to read TIBIT. Below are the links of TIBIT which are very helpful in understanding the End-to-end process of XI. And you can even do some exercies here which are very helpful.
    TBIT40:
    https://websmp109.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT40
    TBIT41:
    https://websmp201.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT41&LANGUAGE=
    TBIT42:
    https://websmp206.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT42&LANGUAGE=
    TBIT43:
    http://www50.sap.com/useducation/curriculum/course.asp?cid=60161651
    TBIT44:
    https://websmp102.sap-ag.de/~form/ehandler?_APP=00200682500000001337&_EVENT=DISPLAY&COURSE=TBIT44
    later you can follow this link which contains step by step blogs for http to webservices
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=httptoweb+service&adv=false&sortby=cm_rnd_rankvalue
    Thanks
    sandeep
    PS: if helpful plz reward points

  • Webservice error messages

    Hi All
    I am using a web service to feed my flex application with
    data. When exceptions occur in the web service, I only get some
    generic error message in my fault handler. I would like to be able
    to get information such as error messages from the web service
    exceptions propagated to my web service fault handlers in my Flex
    Application.
    My web service is .Net based/C# and it is used in my Flex app
    by importing the WSDL file of the service.
    Here is an example with some code snippets:
    The web service has a HelloWorld webmethod which throws an
    exception. This webservice is imported into my flex app using the
    Data->Import Webservice feature, which autogenerates the
    webserivce class I am using. When I call the webservice from Flex,
    the fault handler is called but it only contains some generic error
    message.
    Code snippets: The C# webservice method which throws an
    exception:
    [WebMethod]
    public string HelloWorld()
    throw new Exception("Hello World Exception.");
    return "Hello World";
    And here is how I call the webservice in my FIex App:
    private function btnTestWebserviceClicked(event:Event):void
    var service:WebService = new WebService();
    service.addWebServiceFaultEventListener(faultHandler);
    service.addhelloWorldEventListener(webMethodDone);
    service.helloWorld();
    function webMethodDone(event:HelloWorldResultEvent):void
    Alert.show("Done", "Done");
    function faultHandler(event:FaultEvent):void
    Alert.show(event.fault.faultString, "Error");
    The information I can get from the faultEvent passed to the
    fault handler does not contain the error string but only the
    generic "HTTP request error" error message, and not the
    “Hello World Error String” which was passed to the
    exception thrown in the webservice.
    So my question is: How can I get information from web service
    exceptions propagated to my fault handlers in Flex?
    Any help, advice or pointers to articles will be much
    appreciated.
    Best regards Stig Nielsson

    Hi Stig,
    The root cause of the problem is that the body of the 500
    status code isn't returned to the flash player from the browsers.
    This prevents the Flash Player from passing it along to you. Keep
    in mind that the FlashPlayer is just a control that runs within the
    browser; as a result it's restricted by what the browser provides
    to it. The body of a 500 error message isn't one of the things
    provided to it.
    The Flash Player needs to play to the least common
    denominator and while some browsers do provide the web service's
    500 error body the Flash Player requires ubiquity. This is why the
    feature isn't implemented within the Flash Player... when all
    browsers provide this data then Adobe needs to add the feature.
    Adobe has logged a bug on these issues with the browser companies.
    To workaround the issue use LCDS or BlazeDS as proxies. They
    have been coded to return a 200 status response instead of the 500
    error allowing you to access the error message. Adobe has been
    aware of this issue and this is the suggested resolution to the
    problem. It's not ideal but it's the best we currently have
    available.
    Here's a great article that talks about this:
    http://blog.flexmonkeypatches.com/2008/05/16/soap-fault-messages-in-flexflash-player-error -2032-stream-error/
    -Kurt.

  • WebService : error to retrieve big result gzip encoded

    Hi, I have a strange error with Results from Webservice SOAP
    when data is encoded in gzip or deflate mode.
    I have a webservice that return in non encoded mode a
    resultset of 95542 Bytes.
    The same resultset compressed in gzip is 8251 Bytes.
    No problem if there is no encoding between server and Flash
    Player (9,0,47 and 9,0,115 used)
    If Accept-Encoding header is set to gzip, deflate, then
    server send resultset encoded.
    Browser receive this resultset (trace with WireShark), but
    Flash Player don't load the result and the WebService go to timeout
    If I limit the data returned for this webservice by limiting
    number of rows returned, Flash is able to handle the result. For
    example : uncompressed data of 84070 Bytes give an encoded
    resultset of 7506 Bytes and theses data are well handled by flash
    player.
    I don't understand where is the problem.
    Does flash player have gzip decompression limitation ?
    Please help
    Thanks

    Hi, I have a strange error with Results from Webservice SOAP
    when data is encoded in gzip or deflate mode.
    I have a webservice that return in non encoded mode a
    resultset of 95542 Bytes.
    The same resultset compressed in gzip is 8251 Bytes.
    No problem if there is no encoding between server and Flash
    Player (9,0,47 and 9,0,115 used)
    If Accept-Encoding header is set to gzip, deflate, then
    server send resultset encoded.
    Browser receive this resultset (trace with WireShark), but
    Flash Player don't load the result and the WebService go to timeout
    If I limit the data returned for this webservice by limiting
    number of rows returned, Flash is able to handle the result. For
    example : uncompressed data of 84070 Bytes give an encoded
    resultset of 7506 Bytes and theses data are well handled by flash
    player.
    I don't understand where is the problem.
    Does flash player have gzip decompression limitation ?
    Please help
    Thanks

  • Error during invokation of webservices: "error: unknown java type:"

    hi,
    I'm having issues with invoking a webservice from the "WebLogic Test Client". The webservice exposes the methods from a stateless session EJB and Weblogic Workshop was used to create the webservice controls
    Weblogic version: 10.0 mp1
    Pls. advise.
    Error message ...
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header />
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>error: unknown java type: com.margin.engine.entity.ClientSet</faultstring>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">com.bea.xml.XmlRuntimeException: error: unknown java type: com.margin.engine.entity.ClientSet
    at com.bea.staxb.runtime.internal.FailFastErrorHandler.add(FailFastErrorHandler.java:45)
    at com.bea.staxb.runtime.internal.MarshalResult.addError(MarshalResult.java:265)
    at com.bea.staxb.runtime.internal.AnyTypeRuntimeBindingType.determineActualRuntimeType(AnyTypeRuntimeBindingType.java:84)
    at com.bea.staxb.runtime.internal.RuntimeBindingProperty.getActualRuntimeType(RuntimeBindingProperty.java:110)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkRankOneSoapArray(PushMarshalResult.java:570)
    at com.bea.staxb.runtime.internal.PushMarshalResult.walkSoapArray(PushMarshalResult.java:534)
    at com.bea.staxb.runtime.internal.PushMarshalResult.visit(PushMarshalResult.java:437)
    at com.bea.staxb.runtime.internal.SoapArrayRuntimeBindingType.accept(SoapArrayRuntimeBindingType.java:59)
    at com.bea.staxb.runtime.internal.PushMarshalResult.writeContents(PushMarshalResult.java:192)
    at com.bea.staxb.runtime.internal.PushMarshalResult.marshalTopType(PushMarshalResult.java:93)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:302)
    at com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:435)
    at weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:175)
    at weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:95)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:284)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:205)
    at weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:192)
    at weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:119)
    at weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:128)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
    at weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:236)
    at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:220)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:135)
    at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:108)
    at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
    at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
    at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
    at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
    at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3395)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2140)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2046)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    </bea_fault:stacktrace>
    </detail>
    </env:Fault>
    </env:Body>
    </env:Envelope>

    Olivier, thank you so much
    SOAMANAGER does not exist in my system (sp level 8), so node "/sap/bc/soap/rfc" should be active. Actually, it is active.
    I think the problem is related to user rights/profiles.
    I have tried to create another WS after assigning role SAP_BC_WEBSERVICE_ADMIN. The same error when trying to activate it, but now, I can see this WS in SE80 (under "Enterprise Services->Service Definition"). It is not active there and if I try to activate it, a success message appears indicating that user "is not authorized to use function netzwerkadministration". I cannot see any new services in SICF...
    Probably the new entry in SICF will be created after activating WS in SE80...
    Do u know what user profile should I add in order to properly activate the WS in SE80?
    Thank you very much!
    Vicente

  • What's your strategy for WebService errors that aren't raised through fault handler?

    Is there a way to underride the default functionality of
    WebService.as? I can't find the source code in the SDK, so I'm
    assuming this part of Flex isn't Open Source.
    I find that using WebServices that there are a lot of errors
    that potentially occur that I can't capture in the UI. Or, let me
    rephrase that, that I haven't been able to figure out how to
    capture in the UI.
    For example, the following "Could not load WSDL" error
    occurs. Now, I could probably devise a strategy around checking
    that the connection is alive and such, but then I've seen other
    errors that occur in the WebService base classes that are all fired
    asyncronously.
    Is there a way to add a default handler that capures these
    types of errors? (They're not captures by FaultHandlers).
    I can't have a UI that displays the big white box to end
    users with a stack trace. Thanks.
    [RPC Fault faultString="Could not load WSDL"
    faultCode="Server.NoServicesInWSDL" faultDetail="No
    <wsdl:service> elements found in WSDL at ."]
    at
    mx.rpc.wsdl::WSDL/getService()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc \wsdl\WSDL.as:256]
    at
    mx.rpc.wsdl::WSDL/getPort()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDL.as:182]
    at mx.rpc.soap::WebService/
    http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[E:\dev\flex_3_beta3\sdk\framewor ks\projects\rpc\src\mx\rpc\soap\WebService.as:267
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at
    mx.rpc.wsdl::WSDLLoader/checkLoadsOutstanding()[E:\dev\flex_3_beta3\sdk\frameworks\projec ts\rpc\src\mx\rpc\wsdl\WSDLLoader.as:195]
    at
    mx.rpc.wsdl::WSDLLoader/resultHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\s rc\mx\rpc\wsdl\WSDLLoader.as:173]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\flex_3_beta3\sdk\fra meworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:175
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\flex_3_beta3\sdk\framew orks\projects\rpc\src\mx\rpc\AbstractInvoker.as:198
    at
    mx.rpc::Responder/result()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Res ponder.as:48]
    at
    mx.rpc::AsyncRequest/acknowledge()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx \rpc\AsyncRequest.as:81]
    at
    DirectHTTPMessageResponder/completeHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\ rpc\src\mx\messaging\channels\DirectHTTPChannel.as:387]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    I found out at FlexCOders, that when I'm not using the Debug
    version of the Player that these errors should correctly propogate
    to the Fault handler.

  • 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.

  • BPFs and WebServices Error

    Experts --
    My BPFs are only loading intermittently.  When they don't load I get this error message.  I have reset IIS Server (iisreset).
    Thanks for any help you can provide... 
    <h6>
    System.Net.WebException: The operation has timed-out.
       at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at OSoft.Services.Webservice.BPFProxy.BPFService.BPFService.Query(String strQueryType, String strParameter, String strContext, String strSecurity)
       at OSoft.Services.Webservice.BPFProxy.BPFProxy.GetBPFContents(String strAppSet, String strApp, String strBPFID, String strDataRegion)

    Hello Marvin,
    It would be helpfull if you could inform us about the SAP BPC and SQL Server version used.
    But I can still inform you this has been verified as a bug and has been fixed in SAP BPC SP1 version.
    Regards,
    Jean

Maybe you are looking for