Web Service without Web Container

There is any framework for do a app with a Web Service Server without deploy in a Web Container?
I want to do a Desktop app with Web Services and WSDL for a php client. I only had found examples for deploy on Tomcat and others.

If I change this: @SOAPBinding(style = Style.RPC, parameterStyle=ParameterStyle.BARE)
It have same error that in soap client for php:
javax.xml.ws.soap.SOAPFaultException: Cannot find dispatch method for {http://schemas.xmlsoap.org/soap/encoding/}parametros
at com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:111)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
at $Proxy53.usuarioSaldo(Unknown Source)
at trservidor.TRServidorView.<init>(TRServidorView.java:128)
at trservidor.TRServidorApp.startup(TRServidorApp.java:19)
at org.jdesktop.application.Application$1.run(Application.java:171)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Similar Messages

  • Need to publish SAP Web Service without Authintication

    Hello Everyone,
    I have created a web service for my XI congiguration scenario for my outbound interface. Now each time when client system (Non SAP System) tries to publish my SAP Web Service, it asks the authentication of credentials (SAP username & Password).
    We want to publish our SAP Web Service without Authintication.
    Please suggest us how can we do that?
    Regards,
    Pranil Shinde.

    Hi,
    The user authentication of the SOAP adapter is not part of the SOAP adapter but of the web container of the J2EE engine. The default authentication setting is defined in the web.xml descriptor file of the SOAP adapter web application. This setting may be modified from Visual Administrator with some restriction. Please refer to the security documentation for the J2EE engine fro the same.
    Regards,
    Swetha.

  • Web Service without WSDL

    I have an existing web site that utlizes XML/XSQL extensively. What is an easy way of defining a WSDL for each of these XSQL pages?

    A Web Service without a WSDL describing it??? Seems like a contradiction to me...
    Are you 100% sure about this? I am not an Axis expert, but this sounds strange.

  • Web Services without WSDL

    I am trying to access a SOAP Web Service. I'm using cfinvoke
    but the service doesn't provide WSDL.
    Is there any way in ColdFusion to access a web service
    without WSDL ?
    Many thanks,
    Simon

    quote:
    Originally posted by:
    logic8
    Whether I type
    http://example.com/core.php
    or
    http://example.com/core.php?wsdl
    - I get the following:
    <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="
    http://schemas.xmlsoap.org/soap/encoding/">

    <SOAP-ENV:Body>

    <SOAP-ENV:Fault>
    <faultcode
    xsi:type="xsd:string">Client</faultcode>
    <faultactor xsi:type="xsd:string"/>
    <faultstring xsi:type="xsd:string">method '' not
    defined in service</faultstring>
    <detail xsi:type="xsd:string"/>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    If I try using cfinvoke I get a "Unable to read WSDL from
    URL" 500 internal server error.
    BTW this is my first day learn CF ;)
    Thanks
    Never too early to start good habits, such as reading your
    error messages. What do you think this means?
    <faultstring xsi:type="xsd:string">method '' not
    defined in service</faultstring>

  • How to call Axis 2.0  web service without wsdl

    Hi,
    Is it possible that I can call Axis 2.0 asynchronous web service in orabpel without wsdl.? As Axis 2.0 is not generating wsdl file.
    Regds,
    Farooq

    A Web Service without a WSDL describing it??? Seems like a contradiction to me...
    Are you 100% sure about this? I am not an Axis expert, but this sounds strange.

  • Web Services without using the API

    Hi. I'm new to Web Services. I've been able to call a web service and get my result back without using the Web Services API -- easy enough. My question is this.... the concept of web services has been around for a long time... longer than the web services API. Can I not write a simple servlet it Java that would function as a Web Service without having to use the Web Services API.
    For example,
    Calling XML:
    <action><delete>jdoe</delete></action>
    Servlet recieves this as a stream, deletes the associated ID and returns:
    <action><result>Success</result></action>
    or
    <action><result>Failed</result></action>
    This seems to me like it would be pretty generic stuff (not requiring the API) and pretty basic (not very large).
    Can anyone head me in the right direction with this or provide an example?
    Thank you.
    dr

    Can... Servlet is very powerful to write the web services...

  • Steps to expose a web service without using SR

    Hello,
    How can I expose a web service without using the service registry?  Is there some documentation for this process?
    Thanks,
    Matt

    Thanks for the response.  Although, I do not have an * in the Sender Agreement.
    Here is the situation:
    When I attempt to reach the URL for my Web Service but using NWA instead of the Service Call I get into NWA.
    https://xxxxx.steelcasedev.com/nwa
    Result: Success
    When I use SOAPSonar to run this URL I get the CPA error:
    https://xxxxx.steelcasedev.com//XISOAPAdapter/MessageServlet?senderParty=&senderService=WSProcurement_Async_Sender&receiverParty=&receiverService=Steelcase_Dev&interface=WSProcure_Out&interfaceNamespace=urn:steelcasedev.com:wsprocure:xsuppliers
    Result:  Error
    <context>XIAdapter</context>
              <code>ADAPTER.JAVA_EXCEPTION</code>
              <text><![CDATA[
    com.sap.aii.af.service.cpa.CPAException: com.sap.aii.af.service.cpa.impl.exception.CPALookupException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=WSProcurement_Async_Sender;TS=Steelcase_SAPR3_D01;AN=WSProcurement_Out;ANS=urn:steelcase.com:wsprocurement:xml2suppliers;
         at com.sap.aii.af.service.cpa.impl.lookup.CommonLookup.checkForError(CommonLookup.java:53)
         at com.sap.aii.af.service.cpa.InboundRuntimeLookup.getBinding(InboundRuntimeLookup.java:411)
         at com.sap.aii.af.service.cpa.impl.lookup.AbstractLookupManager.getBinding(AbstractLookupManager.java:714)
         at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:430)
    The sender adapter is active in ID but in RTWB it is "Started but Inactive".  I have found that this status could be related to the fact that I have not had a successful transaction for that channel yet.
    My NW Admin says he found this error: 
    Marked transaction for rollback for message 0015605e-09d7-1ddf-94f7-d5031c019713(INBOUND). Reason: Channel has been configured as inactive and cannot accept messages
    I am quite confused. 
    Thanks,
    Matt

  • R12 how to restart forms/web services without also starting concurrent mana

    R12 how to restart forms/web services without also starting concurrent managers

    jemar98 wrote:
    R12 how to restart forms/web services without also starting concurrent managersadopmnctl.sh startall
    Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

  • Publishing pl/sql as web service without AS or OC4J

    Hi,
    I've read about new Native Web Services in Oracle 11g and I like the idea.
    But how to do similar approach in 10g or even 9.2 database?
    I would like to have database only web service without AS, but I cannot use 11g right now.
    I didn't find any discussion about the new native WS within 11g database. It's great, isn't?
    Libor

    Hello,
    The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
    If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
    Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    and you can use advanced features of JDBC and JPublisher if needed:
    Simplifying Database Access
    Regards
    Tugdual Grall

  • Help - cannot access web service outside web proxy

    I'm trying to access a public web service - and web proxy stops me from doing it.
    Here is my code:
    package test;
    import java.rmi.RemoteException;
    import javax.xml.rpc.ServiceException;
    import net.webservicex.www.WeatherForecastLocator;
    import net.webservicex.www.WeatherForecastSoap;
    import net.webservicex.www.WeatherForecastSoapStub;
    import net.webservicex.www.WeatherForecasts;
    import java.net.*;
    import java.io.*;
    public class TestOutput {
    public static void main(String[] args) {
      initialiseConfiguration();
      printForecast();
    public static void initialiseConfiguration() {
      System.setProperty("http.proxySet", "true");
      System.setProperty("http.proxyHost", "proxyserver");
      System.setProperty("http.proxyPort", "8080");
      System.setProperty("http.proxyUser", "userid");
      System.setProperty("http.proxyPassword", "password");
    public static void printForecast() {
      try {
       WeatherForecastLocator wfl = new WeatherForecastLocator();
       WeatherForecastSoap wfs = wfl.getWeatherForecastSoap();
       WeatherForecasts forecasts = wfs.GetWeatherByZipCode("90210");
      } catch (Exception e) {
       e.printStackTrace();
    }Here, I was using the test web service located in www.webservicex.net/WeatherForecast.asmx
    I've created stubs using Eclipse (package net.webservicex.www) in another project, compiled into a jar, and imported into the test project.
    The test is working beautifully from my home. It's failing in the office with the error:
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (407)Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
    faultActor:
    faultNode:
    faultDetail:
    {}:return code: 407
    It's failing when it's trying to execute
    WeatherForecasts forecasts = wfs.GetWeatherByZipCode("90210");
    The "initialiseConfiguration" function is doing its job OK - it's actually helping me to go through the proxy - if I'm doing simple stuff like accessing internet sites. I've tested it - I can get to any external site and read from it. The moment I disable "initialiseConfiguration", I can't get through the proxy.
    So, probably, the problem lies in the web services client classes generated by Eclipse and based on axis. Maybe, the code gets through the proxy, but then starts to do something without authentication??? (I'm not sure if it's possible at all, but who knows...)
    I've read a lot of postings on this subject and couldn't find a solution that would work for me. I'm very surprised, because my situation is very common - there are more and more public web services, and most organisations have firewalls. Obviously, I'm making some very elementary mistake.
    Please help

    We have the same problem, not with SOAP but with XML-RPC (err 407). We're still stumped, and i agree that the problem should be common, but i don't see the mistake, so it's not that obvious.
    Hypothesis: the proxy is spying on the requests content , and filtering out xml. Can you check that ?
    Message was edited by:
    idiallo

  • Error while calling a web service in web dynpro through XI

    Hello,
    I was following a blog for Invoking Webservices using SAP XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    I have done all the steps specified but when I import the wsdl file in web dynpro application and deploy the project I get the following error:
    <b>"Exception on execution of web service with WSDL URL 'bankws_OUT_MI.wsdl' with operation 'bankws_OUT_MI' in interface 'bankws_OUT_MI'"</b>
    where:
    bankws_OUT_MI -
    is the message interface name.
    I have defined a web service in the integration reopsitory as follows:
    <b>http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:bankws:s_comm</b>
    where 
    bankws --- service name
    s_comm -
    sender communication channel
    selected 'bankws_OUT_MI' message interface from the given choices
    'bankws_IN_MI'  or 'bankws_OUT_MI'.
    interface name: bankws_OUT_MI -
    mesage interface name
    Can anyone guide me how to proceed further. Also if possible can anyone send me some helpful documentation regarding how to call a web service in web dynpro through XI.
    Thanks in advance.
    Regards,
    Imtool

    hello everyone,
    I made the whole scenario again and it is running succusfully in Xml spy. Now when i call the webservice in web dynpro...  I get the following error:
    <b>com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 200 while accessing URL: http://PEP:50000/XISOAPAdapter/MessageServlet?channel=:OOMS_WS_OUT:CC_OOMS_WS_OUT. Response Message: OK. Content Type: text/html; charset=utf8. Body Content: <html> <head><title>MessageServlet</title></head> <body> <h3>Message Servlet is in Status OK</h3> <h3>Status information:</h3> Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/645_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#7 $) bound to /MessageServlet <br/>Classname ModuleProcessor: null <br/>Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean <br/>Lookupname for remoteModuleProcessorLookupName: null <br/>ModuleProcessorClass not instantiated <br/>ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0 <br/>ModuleProcessorRemote not instantiated </body></html></b>
    I have also made the entry in the visual administrator for metadata_dest and execution_dest.
    Does anybody have an idea what mistake i am doing.
    Thanks,
    Imtool

  • Consuming External Web Services in Web Dynpro Java

    Hi All,
    I an trying to consume external web service in Web dynpro java using Adaptive Web Service Model.
    But getting below mentioned error while executing the web service
    Exception on execution of web service with WSDL URL 'D:\Web Service Project\CurrencyConvertor.asmx.xml' with operation 'ConversionRate' in interface 'CurrencyConvertorSoap'
    Steps i followed are as below:
    1. Created  Adaptive Web Service Model for this i select WSDL source as "Local File System or URL"
    In next step i select No logical destination radio button and click on next
    In next step, browse the WSDL file and successfully import the WSDL file.
    2. After successfully importing the WSDL file i wrote below code in Init method:
    WebModel modelweb = new WebModel();               
    Request_ConversionRate reqConversion = new Request_ConversionRate(modelweb);
    ConversionRate conversion= new ConversionRate(modelweb);
    reqConversion.setConversionRate(conversion);
    wdContext.nodeRequest_ConversionRate().bind(reqConversion);
    3.After that execute the model - code is given below :
        IWDMessageManager manager = wdComponentAPI.getMessageManager();
        try
          wdContext.currentRequest_ConversionRateElement().modelObject().execute();
          wdContext.nodeResponse().invalidate();
          wdContext.nodeConversionRateResponse().invalidate();
        catch(Exception e)
          manager.reportException(e.getMessage(), false);
    Please let me know how to resolve this.
    Thanks
    Sandy

    Hi,
    You need to use destinations for metadata and modeldata.
    Configure those destination in Visula admin.
    you can refer to following link.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
    Regards,
    Shruti.

  • How to call web services in WEB DYNPRO ABAP

    Hi ABAPER'S,
    Please let me know how to call web services in web dynpro.
    Thanks,
    Sandy.

    Hi Sandy,
    Please check this blog..
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    also cehck this...
    call the webservices in webdynpro ABAP.
    calling webservice in webdynpro component
    Re: Web Services in WDA.
    Cheers,
    Kris.
    Edited by: kissnas on May 24, 2011 11:37 AM

  • Consume Web Service in Web Dynpro

    Hi Experts,
    I´m currently trying to learn web dynpro development.
    Scenario: I have one component which embed two views. One view is for enter customer number and in the other view I will see the name of the customer. The name of this customer is provided in a sap erp2005. I have develop a function modul and wich gave me the appropriate data(customer name). Then I create a web service base on this function module.
    When I test this web serviec in WSNavigator, I get the customer name, so the web service is working well.
    My Problem is: I can´t invoke this Web Service in Web Dynpro. My steps to invoke web service were: create a model with the web service wsdl and then I add this model in the component (in "Used Models").
    I have create a application and assign it to the component. When I "Deploy new archive and Run" the application I be come the error: "Configuration not found for application: demo.sap.com/test_wd3,serviceRefId:7fecf23b-0895-48f3-9902-0e7015a705c3. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed."
    What do I have to consider or to set up?
    It is right to assign the input field to the context parameter?
    PS: I have followed the steps in this tutorial, but I don´t use XI or PI
    http://www.riyaz.net/blog/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/technology/sap/7/
    best regards
    Anna von Landsberg
    Edited by: Anna_von_Landsberg on Dec 8, 2010 4:48 PM

    Hi,
    I have the following message error:
    Exception on execution of web service with WSDL URL
    'http://j2eeserver:port/xxxx/Config1?wsdl'
    with operation 'RequestNode' in interface
    'urn:xxxxx'
    When i debugged it, I found the following error:
    Cannot find the required parameter [unTipoProducto] in request message content.
    What is wrong?, I pasted the code of my method, that call to web service in the component controller.
      public void Alta_Entrega( )
        //@@begin Alta_Entrega()
         String tipoProducto = wdContext.currentAlta_EntregaElement().getUnTipoProducto();
         Request_Alta_Entrega entregaMO = wdContext.currentRequest_Alta_EntregaElement().modelObject();
         if (!wdContext.currentAlta_EntregaElement().getUnTipoProducto().equalsIgnoreCase("")){
              IWDMessageManager manager = wdComponentAPI.getMessageManager();
              if (logger.beDebug()) {
                entregaMO.wdSetInvocationLogEnabled(true); //switch on logging for this model object
              try{
                   entregaMO.setInvokerProperty(Stub.USERNAME_PROPERTY,"xxx");
                   entregaMO.setInvokerProperty(Stub.PASSWORD_PROPERTY,"xxx");
                   entregaMO.execute();
                   wdContext.nodeResponse().invalidate();
                   wdContext.nodeAlta_Entrega().invalidate();
              }catch (Exception e){
                   manager.reportException(e.getMessage(),false);
              logger.debugT(entregaMO.wdGetRequestLog()); //request log (HTTP header + SOAP request)
              logger.debugT(entregaMO.wdGetResponseLog()); //response log (HTTP header + SOAP response)
              logger.debugT(entregaMO.associatedModelClassInfo().getModelInfo().toString()); //model metadata in XML format
              logger.debugT(entregaMO.toString()); //model object tree in XML format (= model context node content)
    I hope you can understand me, because my english is very bad!!.
    Thank you.

  • Consume XI web service in web dynpro application

    HI All,
    I have scenario access web service in web dynpro java, which is created by XI ..Now I have WSDL file. Using that WSDL file I have imported web service model(Adaptive web service method)  in my web dynpro java.
    By following  the PDF document  = https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7 
    I have created a Model as mentioned in the PDF.
    Once model is created I have done the mapping from model to component controller, after that  I need to execute the Web service model .For the execution I need to write a code in component controller :- 
    model class name = XIModel
    XIModel obj = new XIModel();
    Once I am done with the above coding , and when I try to run the application I get the following error :-
    com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 200 while accessing URL:http://atind037:50000/WSDL/GetPOPDF.wsdl. Response Message: OK. Content Type: content/unknown
    Could you please help me with this at the earliest , as it is a urgent issue.
    Regards,
    Boopathi M.

    Hi boopathi,
    It seems your wsdl url is not correct. Put the http://atind037:50000/WSDL/GetPOPDF.wsdl
    in your browser and check whether you are getting the WSDLDefinitions in xml format or not ?
    In wsdl url put ? instead of .
    URL : http://atind037:50000/WSDL/GetPOPDF?wsdl
    call adaptive web services mit Parameter
    Regards,
    Mithu

Maybe you are looking for

  • Transfer data between systems realtime

    Dear All, I have the following issue: In System1 we create Purchase Order (PO) and in System2 a Sales Order (SO) reference to that PO. The line item in the PO in System1 have Profit Center PC1 assigned. In System2 the SO has PC2 assigned to line item

  • Audit Log Not Being Created

    Hi, I'm using the workflow application "Audit" as an activity in my custom workflow and I'm passing the required arguments. In the workflow trace file, I can see that the Audit application is run using the passed parameters but no record is being cre

  • Unix Executable Files Problem

    My husband moved from PC to Mac and had the Apple Store transfer his libraries to it - including picture files. Every time he opens iPhoto he is told that there are 14 files not yet imported. However, they can't be imported and on inspection turn out

  • Slow context creation

    I seem to be having a problem with connection times progressively getting           slower as machines are added to the cluster.           For instance, at one machine my login time is ~.5 secs, at two machines           login time has increased to ~

  • Education version of FB 4.7

    Does anyone know whether Adobe intends to have an education price for FB 4.7? I teach a university course that makes extensive use of FB but will not be able to do so if students must shell out $700.