Web Service Project using WSDL file

Hi All,
I want to create web service project using WSDL file(I already have a wsdl file), which needs axis2 run time to generate correct project structure, I did this in eclipse but now I want to do it through JDeveloper(11.1.2.0.0), so please suggest me any ways on how can I configure axis2 runtime in Jdeveloper, and is it possible do it in Jdevloper?
Thank You,
Sunny
Edited by: Sunny on May 8, 2012 1:51 AM

Have you installed the 64-bit Access driver on your machine? See
Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

Similar Messages

  • Create Web Service System using WSDL URL

    Hi,
    Please help me create a Web Service System.
    Following is the test result when I perform Connection Test after creating a system
    Test Connection with Connector
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    Thanks,
    Atul

    Let me reiterate my problem.
    I created the System as following
    Creating System's Object:
    1) Go to System Administration 
    2) Go to System Configuration 
    3) Go to Portal Content on Object Based Navigation Area (Right Side Panel)
    Note:  For avoiding confusion it is recommended to create a folder in which we are creating System Object.
    4) Right Click on Portal Content, select New -> System (from Template) 
    5) This action will display a new view on right side, now choose Web Service System using WSDL URL radio button from the existing templates. Click Next
    6) Give the System Name  i.e. System_WS and System Id  (which are mandatory fields) incase you want to give any brief notes about the system then give it in Description field.  Click Finish.
    8) Choose Open the object for editing Click OK. 
    9) Now to create a Web Service System, we need WSDL URL. 
    10) There are lots of freely available WSDL files on internet, search for any such WSDL file. 
    11)  In the Properties area of system give the appropriate WSDL URL
    12) Choose System alias, from display menu and give alias as System_WS.
         This alias name will be the name of Web Service System.
    I used the following url
    http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
    After the system is created,
    1) Right click on the created system> open > object
    2) Drop down for Display options is changed to Connection Tests from what it shows as object
    3) Check the check box for the test name Connection Test for Connectors
    4) Result shows that the connection failed. The error message was posted in my first question.
    Thanks,
    Atul

  • How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection

    How to retrieve the multiple rows data on PDF form in a web service method using WSDL DataConnection.
    I have a multiple rows on PDF form. All rows have 4 textfields. I want to submit the multiple rows data to a method defiened in webservice.
    Unable to retrieve the data in multiple rows within webservice method.

    Hi Paul,
    I'm now able to save the retrieved xml in a hidden text field and create dynamic table, and I'm able to fill this table from the XML, but the problem is that I could not find the correct way to loop on the xml, what I'm trying to say, the table will have number of rows with the data of the first row only, so can you tell me the right way to loop on the xml!
    this is my code
    TextField1.rawValue=xmlData.document.rawValue;
    xfa.datasets.data.loadXML(TextField1.rawValue, true, false);
    for(var i=0; i<count; i++)
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Num").rawValue = xfa.datasets.data.record.num.value;
    xfa.form.resolveNode("form1.P1.Table1.Row1["+i+"].Name").rawValue = xfa.datasets.data.record.name.value;
    Table1.Row1.instanceManager.addInstance(true);
    Thanks
    Hussam

  • Unable to open connection to MS Access 2013 .accdb file Under WCF Web Service Project Using Windows 8.1 64bit

    I am encountering the following error when trying to connect to an Access 2013 database:
    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.
    I have Visual Studio 2013 SP3 running on Windows 8.1 64bit OS which also has Office 2013 installed (which includes MS Access 2013).  My project is a WCF web service using .NET Framework 4.5.1 using any cpu as target.  I have tried reluctantly
    to install the older drivers as described by in the below article:
    https://social.msdn.microsoft.com/Forums/en-US/1d5c04c7-157f-4955-a14b-41d912d50a64/how-to-fix-error-the-microsoftaceoledb120-provider-is-not-registered-on-the-local-machine?forum=vstsdb
     and also went through the "Add Data Source" wizard in the Project menu to have the connect string automatically built.  Even with the automatically built connect string I can not connect to the .accdb file from within my WCF web service.
    What's odd is if I use the Database Explorer in Visual Studio it has no problem connecting the my Access file.  I inspected the connect string and tried to use it as well but still get the same error. Even stranger is that I have no problem connecting
    to the Access DB in an ASP.NET project on the same PC. I am also able to connect to the Access file using a simple Windows Forms application.  So I'm wondering if it has something to do with trying to connect to the Access file from a WCF web service
    project.
    What I'd like to know is if anyone has been able to get this to work in an environment as I described above as a 64bit WCF web service project?  I tried to switch my project to 32bit but when I do I get a different error which reads:
    System.BadImageFormatException: Could not load file or assembly 'file:
    Almost to the point of trying to get this web service project done with SQL Express but would like to know if it can be done with MS Access 2013.  Any information anyone can provide to help me get past this issue is greatly appreciated. Thanks.

    Have you installed the 64-bit Access driver on your machine? See
    Data Source Names and 64-Bit Operating Systems for the differences in odbcad32. Call %SystemRoot%\system32\odbcad32.exe to check the drivers.
    How do you host your service? Stand-alone or IIS or embedded to another application? Keep in mind that IIS7 runs it in its application pool which is defaullt 64bit. Thus the bad image exception, when compiling your service as 32bit.
    When you need the Access database for your service to store informtation, then I would switch to SQL Server (Express) or XML files depending on your actual needs.
    Also check whether your account under which your service is run has the necessary NTFS file permissions on the access file and the folder. This is getting even more complex when it's a remote folder.

  • Error when trying to create a web service from a wsdl file using jdeveloper

    Hello,
    I'm using the latest jdeveloper and jdk 6 update 20 on solaris sparc 10.
    When I'm trying to create a web service from a wsdl on the java EE 1.5 platform i get the following error:
    Validation failed:
    java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    I've tried the endorsed mechanism with the latest jaxws-api.jar and jaxb-api.jar packages with no help.
    It works fine when i use the java EE 1.4 platform....
    The full Error description:
    oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)+
    +     at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.setDescription(JavaWebService.java:745)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.topdown.TDJaxWsSpecifyWsdlPanel.setDescription(TDJaxWsSpecifyWsdlPanel.java:364)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)+
    +     at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)+
    +     at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)+
    +     at java.lang.Thread.run(Thread.java:619)+
    Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)+
    +     at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)+
    +     at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)+
    +     ... 8 more+
    Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "file:/vobs/NMS/NorthBoundIF/MTOSI/MTOSI_Documentation/DDPs/ResourceTroubleManagement/IIS/wsdl/AlarmRetrieval/AlarmRetrievalHttp.wsdl": java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)+
    +     at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)+
    +     at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)+
    +     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)+
    +     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)+
    +     at java.lang.reflect.Method.invoke(Method.java:597)+
    +     at oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)+
    +     at $Proxy34.getJaxWsSeiInfo(Unknown Source)+
    +     at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)+
    +     ... 11 more+
    Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:186)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotateReference(AbstractField.java:209)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.annotate(AbstractField.java:164)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractFieldWithVar.createField(AbstractFieldWithVar.java:75)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:89)+
    +     at com.sun.tools.xjc.generator.bean.field.SingleField.<init>(SingleField.java:76)+
    +     at sun.reflect.GeneratedConstructorAccessor53.newInstance(Unknown Source)+
    +     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)+
    +     at java.lang.reflect.Constructor.newInstance(Constructor.java:513)+
    +     at com.sun.tools.xjc.generator.bean.field.GenericFieldRenderer.generate(GenericFieldRenderer.java:64)+
    +     at com.sun.tools.xjc.generator.bean.field.DefaultFieldRenderer.generate(DefaultFieldRenderer.java:75)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateFieldDecl(BeanGenerator.java:751)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generateClassBody(BeanGenerator.java:539)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.<init>(BeanGenerator.java:241)+
    +     at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:181)+
    +     at com.sun.tools.xjc.model.Model.generateCode(Model.java:286)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:251)+
    +     at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)+
    +     at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:117)+
    +     at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)+
    +     at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:647)+
    +     ... 20 more+
    Caused by: java.lang.NoSuchMethodException: com.sun.tools.xjc.generator.annotation.spec.XmlElementRefWriter.required(boolean)
    +     at java.lang.Class.getMethod(Class.java:1605)+
    +     at com.sun.tools.xjc.generator.bean.field.AbstractField.getMRequired(AbstractField.java:184)+
    +     ... 40 more+
    Thanks,
    Roy.

    Guys,
    You are asking about an issue that was a pain in the nick for me few months ago. The problem is that you won't find mych help here as I figured out that Apex geeks here either did not do much webservices or ended up hating it as i do :) . This is an error that can be due many different reason, let me ask you this:
    1- Does your the other system you are trying to call through webservices using HTTPS ?
    2- If yes, did you create a valid oracle wallet for that https connection ?
    3- Make sure you are using the correct URL ( am sure you do, just double check )
    4- If using a proxy, then you have to define that in the web service reference creation page
    provide more info and I hope I can help you with this,
    Sam
    Please reward good answers by marking them correct or helpful!

  • J2EE web service client using WSDL

    Hi,
    We are required to develop client program in Java for the
    web services developed in SAP XI 2.0.
    We will be getting the WSDL files for corresponding web
    services.
    We have tried doing it with J2EE JAX-RPC...
    We studied the sample program of HelloService...
    While calling the service from command line..it takes .jar file..
    But we have to make use of only WSDL....
    Is there any alternative way?? or jax-rpc is the best one???
    wat will be the best way to do so??

    Hi,
    thanx for your reply!
    We have written web services in SAP XI 2.0....
    we has generated corresponding WSDL..which is little
    incomplete..but we can modify and update it according to
    requirements...so we have complete WSDL....for corresponding web
    services.
    My colleagues have developed web dynpro application which
    makes use of those services. Now for demostration purpsoe we need
    to write java/jsp which will access those services...
    can u help???

  • Error in creating Web service reference using WSDL

    Hi Experts,
    I'm using apex 4.1, Oracle 11g
    ERROR MESSAGE: The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests
    I know this is a famous issue apex devs faced. I'm having the same problem now. I went through many forums and websites and came to a conclusion that this is something to do with
    ACL.
    This is wat i'm trying.
    1) I have Apex and my web service running on the same server. (We don't use proxy server to connect to W'service)
    2) This is the path of the WDSL document i gave - 127.0.0.1/EPRWS/DashboardService.asmx?WSDL
    3) I created a default Oracle Wallet by giving no other information other than user name password.
    4) i gave the default wallet's user name, password in apex app.
    5) The only data that I inserted into ACL table as follows,
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
    'ACL that lets power users to connect to everywhere',
    'FLOWS_030000', TRUE, 'connect');
    DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
    END;
    begin
    dbms_network_acl_admin.add_privilege (
    acl => 'power_users.xml',
    principal => 'FLOWS_030000',
    is_grant => TRUE,
    privilege => 'connect'
    END;
    I guess the data inserted into ACL tables as given above to give user privilege is not accurate. Could someone explain me how to properly populate the ACL tables and what exactly needs to be inserted into both ACL tables ? And Should we give anyother information when we create a wallet to fix the able issue ?
    Thanks in advance
    Kurubaran.

    Thanks Role for your reply. As you said i used "APEX_040100". Following script did the magic and now i can call the service. :)
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.create_acl (
    acl => 'power_users.xml',
    DESCRIPTION => 'A test of the ACL functionality',
    principal => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => SYSTIMESTAMP,
    end_date => NULL);
    DBMS_NETWORK_ACL_ADMIN.assign_acl (
    ACL => 'power_users.xml',
    HOST => '*',
    LOWER_PORT => NULL,
    upper_port => NULL);
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    acl => 'power_users.xml',
    PRINCIPAL => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    start_date => NULL,
    END_DATE => NULL);
    COMMIT;
    END;
    BEGIN
    DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
    acl => 'proxy_rule.xml',
    DESCRIPTION => 'A test of the ACL functionality',
    principal => 'APEX_040000',
    is_grant => TRUE,
    privilege => 'connect',
    start_date => SYSTIMESTAMP,
    end_date => NULL);
    DBMS_NETWORK_ACL_ADMIN.assign_acl (
    ACL => 'proxy_rule.xml',
    HOST => '*',
    LOWER_PORT => '80',
    upper_port => '80');
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    ACL => 'proxy_rule.xml',
    PRINCIPAL => 'APEX_040000',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    start_date => NULL,
    END_DATE => NULL);
    DBMS_NETWORK_ACL_ADMIN.add_privilege (
    acl => 'proxy_rule.xml',
    PRINCIPAL => 'APEX_040100',
    is_grant => TRUE,
    privilege => 'connect',
    position => NULL,
    START_DATE => NULL,
    END_DATE => NULL);
    COMMIT;
    END;
    /

  • Issues using WSDL file

    Hi,
    I have the following issue:
    created a Web Service
    Got the WSDL file
    Created a new data connection in the Adobe form
    Pulled the interface elements from the data view and designed the form
    Now when I input data to the form the data is mapped to web service interface and its passed to the RFC function module
    *But when I have a table I add rows to the table dynamically using addInstance method*
    Now when I submit back the data to the webservice only the last record of the table is passed to the web service can u guide me hw to get all the records of the table passed back to the web service
    Thank & Regards
    Nancy

    Hi Nancy,
    You can check these threads:
    Re: dynamic table data not transfered to context WD4ABAP
    Tables
    I have not worked on WSDL, but there should be some way to call method written in WD Java or ABAP. You have to write code of creating instance of the Table in that method.
    We are still working on it, we are using WD java and facing same issue. Will keep you updated if i solved this problem.
    With Regards,
    Amit

  • How to create Web Service Client from wsdl with digital signature?

    Please, help me to create Web Service Client from wsdl with digital signature. I know create Web Service client from wsdl file and I know how to add digital signature to XML with jwsdp, but I don't know how to do it together.
    Thanks.

    I'm handling security wit JAX-WS handler. So I insert "manually" ws-security tag and I encrypt (and sign) message parts.
    On client side, all works fine, but on server side I obtain:
    ---Server Inbound SOAP message---|#]
    Decrypting message and rebuilding Valuees... |#]
    Starting decrypt|#]
    . dectypted.!
    --found following string: <ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona>|#]
    ...MESSAGE Restored.|#]
    <?xml version="1.0" ?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://calculator.me.org/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soapenv:Body><ns1:addiziona><num1>80</num1><num2>22222</num2></ns1:addiziona></soapenv:Body></soapenv:Envelope>|#]
    Error in decoding SOAP Message
    Error in decoding SOAP Message
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:89)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.toMessageInfo(SOAPMessageDispatcher.java:187)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.invoke(SOAPMessageDispatcher.java:571)
            at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:145)
            at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.handlePost(Ejb3MessageDispatcher.java:160)
            at com.sun.enterprise.webservice.Ejb3MessageDispatcher.invoke(Ejb3MessageDispatcher.java:89)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.dispatchToEjbEndpoint(EjbWebServiceServlet.java:178)
            at com.sun.enterprise.webservice.EjbWebServiceServlet.service(EjbWebServiceServlet.java:109)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.sun.enterprise.web.AdHocContextValve.invoke(AdHocContextValve.java:100)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:71)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
            at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
            at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
            at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:674)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:152)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:337)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:327)
            at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:250)
            at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:81)
            ... 29 more
    |#]
    --->handleFault O_o<---|#]If you have any idea for solving my problem, then I can post my simple example :(
    Bye!

  • Invoking Web Services Without Using the WSDL File - RPC

    I would apprecite if someone can provide sample code
    for RPC client for WeatherEJB sample code without using wsdl file.
    Thanks ,
    ag

    Hi,
    Attached is a small program that calls a service CurrencyExchangeRate
    registered at www.xmethods.com.
    The program uses pure java to call the service.
    Hope that helps
    Thanks
    Amit Chauhan
    ag <[email protected]> wrote in message
    news:3c59734d$[email protected]..
    >
    I would apprecite if someone can provide sample code
    for RPC client for WeatherEJB sample code without using wsdl file.
    Thanks ,
    ag[webservice.java]

  • Consuming web service in ABAP  using wsdl file  (need to use PI 7.1)

    Hi ,
      I am from Basis team , currently  one of our Developr(ABAP)  generating  ABAP Proxy using wsdl file (non-SAP)  within R/3 system and using it in his ABAP program to access  a Non-SAP system . In this process the only thing he is gettnig from Basis is creating Logical Port using SOAMANAGER.
      Now  we have  our PI 7.1 systems ,  we would like to leverage PI 7.1 systems for this process . But  ABAP developer doesn't have any idea about PI Development related activities , hence he is depending on Basis .
      Can  you please let me know  how we can leverage  PI 7.1 systems in this process ??
       I have already  configured ABAP Proxy on ECC system  mentioned PI 7.1 as Integration server( Ref :
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies)
    ECC version : 6.0 EHP1
    PI 7.1
                                                                                    ECC  <->  PI <--> Non-SAP system
    Thanks,
    Bhaskar

    Hi Sekhar,
    Please see below link. It will be helpful.
    Regards,
    Sudha

  • Failure to generate WSDL from web service when use xmlbean

    Hi, I have a web service that uses xmlbean generated by schema. The schema from 3rd party is in a separate project since it's used by another web app and ejb project. In wlw103 I have included the schema project in this web service project's Java Build Path. The web service compiles, but when I tried to generate WSDL a Error window shows and says "The WSDL cannot be generated from the web service due to unexpected runtime errors".
    The following is the detail. What do I need to do to make the xmlbean available for my web service? Thanks
    com.bea.workshop.webservices.core.gen.WebServicesException: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:335)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.accessCompiler(WebServiceCompilerImpl.java:390)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile0(WebServiceCompilerImpl.java:330)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl.compile(WebServiceCompilerImpl.java:275)
         at com.bea.workshop.webservices.ui.actions.GenerateWsdlFromJwsAction.run(GenerateWsdlFromJwsAction.java:169)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:256)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
    Caused by: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\workspace\ws\src\myPackage\testWS.java
         at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:526)
         at weblogic.wsee.tools.jws.build.JwsCompiler.compile(JwsCompiler.java:483)
         at com.bea.workshop.webservices.core.compiler.WebServiceCompilerImpl$3.invoke(WebServiceCompilerImpl.java:333)
         ... 46 more
    Caused by: weblogic.wsee.tools.WsBuildException: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:227)
         at weblogic.wsee.tools.jws.wsdl.WsdlBuilder.processImpl(WsdlBuilder.java:43)
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCProcessor.process(JAXRPCProcessor.java:27)
         at weblogic.wsee.tools.jws.process.CompositeProcessor.process(CompositeProcessor.java:47)
         at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:522)
         ... 48 more
    Caused by: weblogic.wsee.bind.buildtime.BindingException: ERROR ! could not add Xml Schema Type for XmlBean named '\[com.domain.UserDocument\]'. This is completely unexpected and might be caused by missing *.xsb and *.xsd files in the build environment. The building and running of this Service is likely to FAIL.
         at weblogic.wsee.bind.buildtime.internal.SoapAwareJava2Schema.bindAsExplodedTylar(SoapAwareJava2Schema.java:1414)
         at weblogic.wsee.bind.buildtime.internal.TylarJ2SBindingsBuilderImpl.createBuildtimeBindings(TylarJ2SBindingsBuilderImpl.java:216)
         at weblogic.wsee.tools.jws.jaxrpc.JAXRPCWebServiceInfo.createBindings(JAXRPCWebServiceInfo.java:223)
         ... 52 more

    HI,
    I hope this issue can resolved by adding this patch CR349256
    Try to contact weblogic support to get more details about this patch.
    Regards,
    Kal.

  • Errors creating a Web Service Proxy using Microsoft WSDL.exe tool

    I have deployed a BPEL process using JDeveloper. This process can be invoked from the BPEL console and completes as expected. I am trying to create a Web Service Proxy using the Microsoft WSDL.exe tool so that the process can be invoked from a Microsoft Word document. This process is based on the AutoLoan example in the Developer's Guide for Microsoft Office Interoperability B25781-01.
    WSDL.exe returns the following error message
    Error: There was an error processing 'http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl'.
    - The document at the url http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem:
    - Report from 'WSDL Document' is 'There is an error in XML document (19, 7).'.
    - A schema with the namespace '' has already been added.
    - Report from 'DISCO Document' is 'Discovery document at the URL http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl could not be found.'.
    - The document format is not recognized.
    - Report from 'XML Schema' is 'Expected Schema root. Make sure that the root element is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error occurred at , (2, 2).'.
    How do I resolve this error?

    The WSDL file is below.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="HonorariumSmartDoc" targetNamespace="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/HonorariumSmartDoc">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://xmlns.oracle.com/HonorariumSmartDoc" schemaLocation="HonorariumSmartDoc.xsd" />
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://erp.template.co.uk:8889/orabpel/xmllib/ws-addressing.xsd" />
    </schema>
    </types>
    - <message name="HonorariumSmartDocResponseMessage">
    <part name="payload" element="tns:HonorariumSmartDocProcessResponse" />
    </message>
    - <message name="HonorariumSmartDocRequestMessage">
    <part name="payload" element="tns:HonorariumSmartDocProcessRequest" />
    </message>
    - <message name="WSARelatesToHeader">
    <part name="RelatesTo" element="wsa:RelatesTo" />
    </message>
    - <message name="WSAReplyToHeader">
    <part name="ReplyTo" element="wsa:ReplyTo" />
    </message>
    - <message name="WSAMessageIDHeader">
    <part name="MessageID" element="wsa:MessageID" />
    </message>
    - <portType name="HonorariumSmartDocCallback">
    - <operation name="onResult">
    <input message="tns:HonorariumSmartDocResponseMessage" />
    </operation>
    </portType>
    - <portType name="HonorariumSmartDoc">
    - <operation name="initiate">
    <input message="tns:HonorariumSmartDocRequestMessage" />
    </operation>
    </portType>
    - <binding name="HonorariumSmartDocBinding" type="tns:HonorariumSmartDoc">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="initiate">
    <soap:operation style="document" soapAction="initiate" />
    - <input>
    <soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
    <soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <binding name="HonorariumSmartDocCallbackBinding" type="tns:HonorariumSmartDocCallback">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="onResult">
    <soap:operation style="document" soapAction="onResult" />
    - <input>
    <soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
    <soap:body use="literal" />
    </input>
    </operation>
    </binding>
    - <service name="HonorariumSmartDocCallbackService">
    - <port name="HonorariumSmartDocCallbackPort" binding="tns:HonorariumSmartDocCallbackBinding">
    <soap:address location="http://set.by.caller" />
    </port>
    </service>
    - <service name="HonorariumSmartDoc">
    - <port name="HonorariumSmartDocPort" binding="tns:HonorariumSmartDocBinding">
    <soap:address location="http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0" />
    </port>
    </service>
    - <plnk:partnerLinkType name="HonorariumSmartDoc">
    - <plnk:role name="HonorariumSmartDocProvider">
    <plnk:portType name="tns:HonorariumSmartDoc" />
    </plnk:role>
    - <plnk:role name="HonorariumSmartDocRequester">
    <plnk:portType name="tns:HonorariumSmartDocCallback" />
    </plnk:role>
    </plnk:partnerLinkType>
    </definitions>

  • How to use web dynpro's web service to import XML file

    Hi
    I have an xml file and I want to use a web dynpro's web service to cosume this file which is existing on my local drive. Can anyone help me which steps I have to do to use this file as a web service using web dynpro.
    Thanks

    Hi
    You can refer below Wiki Article on SDN. I hope that will help you out.
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/emtech/consuming%2babap%2bweb%2bservices%2busing%2bflex]
    Thanks.

  • How different Web Services can use a class which parses an XML file

    I am using RAD6.1 for developing and deploying web services.As I am using 15 web Services which uses a common class which is used to parse an XML file.As this XML file should be parsed only once and should be used by all the web services.I have made this common class as Singleton but it works as singleton for only one webservice and for other web service again it is parsing the xml file.I want to parse this xml file only once and used by all the web services.In my case tis file is parsed 15 times for 15 web services, but it should be parse donly once and used by all 15 services.Please give me the solution.
    Thanks and Regards
    Sayeeduzzaman

    Hello,
    the 15 Webservices should have a static attribute which contains the xml:
    private static String xml;
    then initialise the xml like this:
    if (xml == null)
    xml = parseIt();
    else
    //do nothing, XML already initialised!
    }

Maybe you are looking for

  • IOS8 missing full access keyboard toggle

    With a third party keyboard installed, there's supposed to be a toggle for "enable full access" on / off. I just added a simple keyboard (simple key) - to get something with the row of number keys on top after all these years - and would leave full a

  • Host Please Login Issues

    I need a host/mod if that is possible. All day I'm trying to get the issue of not being able to use my old Apple ID to login. I had to create a new one to get in here. Not what I want. totally frustrated with this. It's strange I created this new ID

  • Reg:Approval Procedure for AddOn

    Hi Experts, I would like to give the  Approval Procedure for my Add-on. Is a way to do it? I'm using 9.0 PL08.

  • HT4859 Where can I find my iCloud photo backup on my MacBook?

    My iCloud storage is almost full so I'd like to upload my photo stream photos to some storage website so that I can delete my iCloud photo stream backup and clear up some storage space. However, I don't know how to find my iCloud photo stream backup

  • What are the exclamation marks!?!?!

    Hello, First of all i added a movie to my libary and i could watch it and everything. I then connected my iPod and add the movie to my iPod. (by the way its the third iPod nano 8GB) When i look at the movies on my iPod in iTunes there is an exclamati