How to call a Java Web Service from another Java package ?

Please, does anybody know a simple way to access to a JWSDP Web Service deployed under Tomcat with another java application ?
I've tried with ServiceFactory and Service class from JaxRPC API but it doesn't work ....
Thanx.

What not just invoke it the same you would invoke a remote service? Create a service stub and call a service method.
Mike

Similar Messages

  • Calling a soap web service from a java desktop application

    Hi,
    Does anyone know how to call a soap web service from a java desktop application? I've seen examples using Apache Axis, but it sounds like Axis needs to run on a web server and we are trying to avoid that. My initial thought was that, "of course we need a web server", but I'm wondering if there is a way to do this without a web server.
    Any help is greatly appreciated.
    thank you,
    Julie

    If you are the consumer you don't need any web server. The web server is only needed in the provider end.
    In java 6 there is a built in framework to call web services without the need of third parties (such as apache axis)
    take a look at:
    https://jax-ws.dev.java.net/guide/Developing_client_application_with_locally_packaged_WSDL.html
    http://java.sun.com/webservices/technologies/index.jsp
    For the provider end there is also a built in http server to expose web service via HTTP without the need to
    use any external web server.
    take a look at:
    http://java.sun.com/javase/6/docs/api/javax/xml/ws/Endpoint.html

  • How to call an external web service from OIM?

    Hi,
    I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
    Any recomendations?
    Thanks in advance!

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • How to call a SAPME web service from MII

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    Hi,
    I can config the SAPME web service ItemServiceService
    I used Config Links to assign values in request ItemByBasicDataQuery_sync, such as material, revision, site.
    But get a almost empty response ItemByBasicDataResponse_sync, I wrote both web service request and response in file as  below.
    What did I missed?  Thanks!
    request:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataQuery_sync xmlns="http://sap.com/xi/ME">
    - <ItemByBasicDataQuery>
      <Item>MA1</Item>
      <Revision>A</Revision>
    - <SiteRef>
      <Site>HP</Site>
      </SiteRef>
      </ItemByBasicDataQuery>
      </ItemByBasicDataQuery_sync>
    response:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ItemByBasicDataResponse_sync xmlns="http://sap.com/xi/ME">
    - <Item>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemType>K</ItemType>
      <IncrementBatchNumber>S</IncrementBatchNumber>
      <LotSize>0.00</LotSize>
    - <StatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </StatusRef>
      <EffectivityControl>R</EffectivityControl>
      <Description languageCode="" />
      <UnitOfMeasure languageCode="" />
      <AssignSerialAtRelease>false</AssignSerialAtRelease>
    - <AssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AssyDataTypeRef>
    - <InventoryAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </InventoryAssyDataTypeRef>
    - <RemovalAssyDataTypeRef>
      <AssyDataType languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </RemovalAssyDataTypeRef>
      <CreateTrackableSFC>I</CreateTrackableSFC>
    - <BomRef>
      <Bom />
      <Revision />
      <BomType>S</BomType>
    - <SiteRef>
      <Site />
      </SiteRef>
      </BomRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <CurrentRevision>true</CurrentRevision>
      <DrawingName languageCode="" />
      <EffectiveEndDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveEndSequence unitCode="">0.00</EffectiveEndSequence>
      <EffectiveStartDate daylightSavingTimeIndicator="true" timeZoneCode="" />
      <EffectiveStartSequence unitCode="">0.00</EffectiveStartSequence>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <MaskGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <MaskGroup languageCode="" />
      </MaskGroupRef>
      <MaximumUsage unitCode="">0.00</MaximumUsage>
      <Panel>true</Panel>
      <PreAssembled>true</PreAssembled>
      <QuantityMultiplier>0.00</QuantityMultiplier>
      <QuantityRestriction>W</QuantityRestriction>
    - <SelectorActivityRef>
      <Activity languageCode="" />
      </SelectorActivityRef>
      <SelectorNote languageCode="" />
    - <TransferItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </TransferItemGroupRef>
      <UseCompFromDrawing>true</UseCompFromDrawing>
      <IsCollector>true</IsCollector>
      <CollectParentSerial>true</CollectParentSerial>
      <RequiresSerialNumberChange>true</RequiresSerialNumberChange>
    - <DocumentLinkList>
    - <DocumentLink>
    - <DocumentRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Document />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <Revision />
      </DocumentRef>
    - <DocumentContext>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
      <OperationRef />
    - <SiteRef>
      <Site />
      </SiteRef>
      </DocumentContext>
      <Sequence unitCode="">0.00</Sequence>
      </DocumentLink>
      </DocumentLinkList>
    - <ItemLocationList>
    - <ItemLocation>
      <Location languageCode="" />
      <Description languageCode="" />
      <Sequence unitCode="">0.00</Sequence>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemLocation>
      </ItemLocationList>
    - <ItemAlternateList>
    - <ItemAlternate>
    - <AlternateItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </AlternateItemRef>
      <Sequence unitCode="">0.00</Sequence>
      <Substitute>true</Substitute>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
      <RequiredSubstitute>true</RequiredSubstitute>
      <ValidAssembly languageCode="" />
      <ValidEnd daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ValidRevision />
      <ValidStart daylightSavingTimeIndicator="true" timeZoneCode="" />
      </ItemAlternate>
      </ItemAlternateList>
    - <ItemDPMOList>
    - <ItemDPMO>
      <Opportunities unitCode="">0.00</Opportunities>
    - <OperationRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Operation />
      <Revision />
      </OperationRef>
      <ForAllOperations>true</ForAllOperations>
      <ForAllDpmoCategories>true</ForAllDpmoCategories>
    - <DpmoCategoryRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <DpmoCategory>TERMINATION</DpmoCategory>
      </DpmoCategoryRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemDPMO>
      </ItemDPMOList>
    - <TransferDataList>
    - <TransferData>
    - <TransferParent>
      <ShopOrderRef />
    - <ItemGroupRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <ItemGroup languageCode="" />
      </ItemGroupRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </TransferParent>
      <TransferType>N</TransferType>
    - <TransferSite>
      <Site />
      </TransferSite>
    - <AlarmTypeConfigRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <AlarmType languageCode="" />
      <TypeSpecific>true</TypeSpecific>
      </AlarmTypeConfigRef>
      <DefaultChoice>true</DefaultChoice>
    - <ExportTemplateRef>
      <TransferDataType>S</TransferDataType>
    - <SiteRef>
      <Site />
      </SiteRef>
      <TemplateName />
      </ExportTemplateRef>
      <ReceiveRequired>true</ReceiveRequired>
      </TransferData>
      </TransferDataList>
    - <ItemShopOrderTypeList>
    - <ItemShopOrderType>
    - <ShopOrderTypeRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <OrderType />
      </ShopOrderTypeRef>
    - <RouterRef>
    - <SiteRef>
      <Site />
      </SiteRef>
      <Router />
      <Revision />
      <RouterType>D</RouterType>
      </RouterRef>
    - <ItemRef>
      <Item />
      <Revision />
    - <SiteRef>
      <Site />
      </SiteRef>
      </ItemRef>
      </ItemShopOrderType>
      </ItemShopOrderTypeList>
    - <CustomFieldList>
    - <CustomField>
      <Attribute languageCode="" />
      <Value languageCode="" />
      <Description languageCode="" />
      </CustomField>
      </CustomFieldList>
      <CreatedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <ModifiedDateTime daylightSavingTimeIndicator="true" timeZoneCode="" />
      <HoldId unitCode="">0.00</HoldId>
      <LastReleasedDate daylightSavingTimeIndicator="true" timeZoneCode="" />
    - <OriginalStatusRef>
      <Status languageCode="" />
    - <SiteRef>
      <Site />
      </SiteRef>
      </OriginalStatusRef>
      </Item>
      </ItemByBasicDataResponse_sync>

  • How to call OWSM secured web-service from ADF application

    I have a OWSM secured web-service, which takes username/password.
    I want to invoke this webservice from ADF application. ADF application has its own security and it takes its own username/password. End user can't provide the username/password for web-service call. My ADF application should call the webservice and provide it appropriate username/password.
    What is the best practice to handle such scenario. I don't want to hardcode username/password in Java (ADF) code.
    Thanks
    Sanjeev.

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • Calling java web service from another webservice app

    Hi,
    I am newbie to writing java webservices and also new to weblogic workshop environment. Our company already has an web-service application (not written by me) that basically receives soap messages M1(e.g. with fields A,B and C) and does a function. The format of the message is defined in .xsd file and the application also has .wsdl and .jws file.
    The modification now required is that this existing application will keep listening in port p1, but another copy of the same application will run in port p2. So i have to write a webservice code in weblogic workshop that basically recives message M1 and forward the message to port p1 or p2 depending upon field A=0 or 1.
    Message M1 ---->New Application
    |->forward to application running on port p1 if field A=0 in message M1
    OR
    Message M1 ---->New Application
    |->forward to application running on port p2 if field A=1 in message M1
    Please give me some example code/suggestions that i can start with. i am already starting to get a bit worried because i have to finish it in next 3 days and i don't have much experience with it.

    Hi Gianluca,
    here there is a little sample to implement a web service Proxy class that invokes a service from a Descriptor file.
    http://help.sap.com/saphelp_nw04/helpdata/en/6c/8aac34d2d6e64dbcfc3ffb10bb3e9e/frameset.htm
    Take care with SAP WebAS (Soap Runtime) and Apache Web Server. If the web Service is published on AXIS 1.0, SAP Soap ABAP runtime and AXIS 1.0 Soap Runtime aren't compliant.
    You could migrate the Java application from AXIS 1.0 to AXIS 2.0.
    If you need, don't hesitate to contact me!
    Cheers,
    Antonello

  • Calling a java web service from R/3 6.0

    hi experts,
    can anyone please tell me how to call a java web service from R/3 6.0?
    i found some answers to this question but all those were for 6.4 or 6.2 but not for 6.0.
    i want to generate a outbound flow from ERP system. so please tell me something about web service in that context.
    Thanks in advance,
    Sagar.

    Hi!!!
    I would do this scenario as a synchronous one:
    [SAP R/3][ABAP proxy objects] <-> [XI]<->[SOAP Adapter]<--->[external java app]
    In your ABAP transaction you will have to execute ABAP proxy method to send a message to XI. If it's not your transaction, you can use user-exit.
    BTW, I have an experience with XI 2.0, not with 3.0, so I used a XI 2.0 terminology.
    Regards,
    Andrzej Filusz

  • How can I call a SAPME web service from MII such as PlaceFutureHold?

    Dears,
    How can I call a SAPME web service from MII such as PlaceFutureHold?
    By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
    Thanks!

    With Web service action block you can view all ME available services
    in I.E
    https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl  you could see your FutureHold service
    To do that in MII, you need Web Service action block. Have you work with MII transaction before?
    (saw your post in MII)

  • HELP!!! Problem of Calling external Web Service from a Java Stored Procedur

    1.I read the topic on http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html about Calling external Web Service from a Java Stored Procedur.
    2.After I import .jar to Oracle what is required by the topic,som error occued.
    Like: ORA-29521: javax/activation/ActivationDataFlavor class not found,
    ORA-29545: badly formed class.
    3.These is not enough .jar required on the topic? What can I do for ORA-29545: badly formed class?
    Thany you!

    Try this
    Re: HELP! Loading Java Classes into Oracle ERROR

  • Problems calling external Web Service from a Java Stored Procedure

    I'm using a sample code that I found here about calling external web services from a Java Store Procedure ( Credit Agency Web Service http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html ) but when I run it ,send this error. I dont know what can I do or what is missing. Please help me. Thanks.
    Error: Premature EOF encountered [java.io.EOFException] [SOAPException: faultCode=SOAP-ENV:IOException; msg=Premature EOF encountered; targetException=java.io.EOFException: Premature EOF encountered] at org.apache.soap.SOAPException.(SOAPException.java:77) at oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765) at org.apache.soap.rpc.Call.invoke(Call.java:261) at oracle.otnsamples.wsclient.CreditAgencyServiceStub.authorizeCustomer(CreditAgencyServiceStub.java:84) at Products.jspService(Products.jsp:120) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:795) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)

    I'm also facing problem in running the example on the page http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/wsclient/Readme.html
    I've Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 and Oracle Application Server 10g (10.1.3). When I executed the following command,
    loadjava -thin -user sys/password@localhost:1521:oradb -resolve -synonym -verbose -grant public %OC4J_HOME%/webservices/lib/soap.jar %OC4J_HOME%/lib/dms.jar %OC4J_HOME%/jlib/javax-ssl-1_1.jar %ORACLE_HOME%/lib/servlet.jar %OC4J_HOME%/j2ee/home/lib/mail.jar
    ... mentioned in step 3 under the "Configuring the Application" section on the above link, the process terminates with the following error
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    class javax/net/DefaultServerSocketFactory: creation (createFailed)
    class javax/net/DefaultSocketFactory: creation (createFailed)
    class javax/net/ServerSocketFactory: creation (createFailed)
    class javax/net/SocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/DefaultSSLSocketFactory: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedEvent: creation (createFailed)
    class javax/net/ssl/HandshakeCompletedListener: creation (createFailed)
    class javax/net/ssl/SSLException: creation (createFailed)
    class javax/net/ssl/SSLHandshakeException: creation (createFailed)
    class javax/net/ssl/SSLKeyException: creation (createFailed)
    class javax/net/ssl/SSLPeerUnverifiedException: creation (createFailed)
    class javax/net/ssl/SSLProtocolException: creation (createFailed)
    class javax/net/ssl/SSLServerSocket: creation (createFailed)
    class javax/net/ssl/SSLServerSocketFactory: creation (createFailed)
    class javax/net/ssl/SSLSession: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingEvent: creation (createFailed)
    class javax/net/ssl/SSLSessionBindingListener: creation (createFailed)
    class javax/net/ssl/SSLSessionContext: creation (createFailed)
    class javax/net/ssl/SSLSocket: creation (createFailed)
    class javax/net/ssl/SSLSocketFactory: creation (createFailed)
    class javax/security/cert/Certificate: creation (createFailed)
    class javax/security/cert/CertificateEncodingException: creation (createFailed)
    class javax/security/cert/CertificateException: creation (createFailed)
    class javax/security/cert/CertificateExpiredException: creation (createFailed)
    class javax/security/cert/CertificateNotYetValidException: creation (createFailed)
    class javax/security/cert/CertificateParsingException: creation (createFailed)
    class javax/security/cert/X509Certificate: creation (createFailed)
    exiting : Failures occurred during processing
    I've checked the path to all the jar files.
    I tried to run the command again with system/password instead sys/password but then I got the following stacktrace:
    The following operations failed
    class oracle/net/www/protocol/https/Handler: resolution
    class oracle/net/www/protocol/https/HttpsURLConnection: resolution
    class oracle/soap/client/ProviderManagerClient: resolution
    class oracle/soap/client/ServiceManagerClient: resolution
    class oracle/soap/providers/JavaProvider: resolution
    class oracle/soap/providers/ejbprov/EntityEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatefulEJBProvider: resolution
    class oracle/soap/providers/ejbprov/StatelessEJBProvider: resolution
    class oracle/soap/providers/sp/SpProvider: resolution
    class oracle/soap/server/http/SOAPServlet: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection$1: resolution
    class oracle/soap/transport/http/OracleSOAPHTTPConnection: resolution
    class org/apache/soap/messaging/Message: resolution
    class org/apache/soap/rpc/Call: resolution
    class org/apache/soap/rpc/RPCMessage: resolution
    class org/apache/soap/rpc/Response: resolution
    exiting : Failures occurred during processing
    Thanks in advance for any useful help.
    -

  • Calling a Web Service from another Web Service

    Hello,
    I have the following scenario: Web Service -> XI -> RFC.
    I have created the XI -> RFC configurations in the XI and exposed them as a Web Service. I tested the generated WSDL with WebDynpro for Java and it works well (I also uploaded the WSDL to the XI server and tested it from the wsnavigator).
    I have created a Web Service from a Java class, deployed it on the XI server (the same XI server as the one with the RFC scenario), tested it and it works well.
    Now I want to call the service I exposed from the XI from inside my Web Service.
    How can I do that? Are there any code samples for that? I searched and couldn't find any.

    create a standalone proxy for your WSDL of the web service deployed on XI java stack and use its API library in the caller Web service...
    find the details here...
    http://help.sap.com/saphelp_nw04/helpdata/en/77/1484b9ecb98c41af4a01131d8d46d3/content.htm

  • How to use WS-RM web Service from Session Bean?

    Hi all.
    Could you tell me the way how to call WS-RM web service(Staring BPM Process) from SessionBean?
    Our environment: SAP NetWeaver CE 7.2 SP3
    I do the following.
    I have created a BPM Process starting with Message Start Event.
    This Message Start Event was created by Service Interface(stateless and asynchronous) which was imported from ESR.
    I deployed this into my server and it worked fine in webservice navigator as a WS-RM WebService.
    But I can't call this webservice from SessionBean in EJBExplorer.
    I get the following error message:
    Caused by: This exception is wrapper of javax.xml.ws.soap.SOAPFaultException. com.sap.engine.services.webservices.espba
    se.client.bindings.exceptions.SOAPFaultException: Invalid WS-RM message. There are no WS-RM headers within SOAP message.
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:412)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1366)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:960)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:915)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
    at $Proxy2753.zwsvCheckOrderdataMainprocessStart(Unknown Source)
    at jp.co.ogis_ri.WSTestSessionBean.exeWS(WSTestSessionBean.java:81)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    I created this SessionBean as follows:
    I created DCs for EJB and created SessionBean in EJB DC.
    I imported a WSDL file(WS-RM web service) from Service Registory and
    I created service clients and Service References.
    After that I implemented SessionBean to call web service checking with this help.
    http://help.sap.com/saphelp_nwce72/helpdata/en/44/4d2bb1c6b00597e10000000a155369/frameset.htm
    After deploying this EJB,I configured properties in nwa.
    Thanks
    Yuichi

    Yuichi
    Did you manage to solve this?  I'm doing something similar and seeing the same problem, although they're up to 7.3 SP7.
    Any help greatly appreciated.
    Lewis

  • How to call a secure web service via XAI Sender in CC&B

    Hi All,
                I want to a call a secure web service from CC&B through out bound message. I have configured the calling  WSDL in XAI Sender. The wevservice is secured one.I tried to call it by configuring user name and password in XAI sender context.But still i am not able to call the service.
    Can anybody help me how to over come this issue ??
    I have cretaed the same post under utilities,but i am not able reply it.
    I am using HTTPSNDR  as XAI class.
    Thanx in advance.
    Regards
    sunil

    Are you getting any errors? What type of XAI Class are you using?
    One thing I've noticed is that if you are making changes to the XAI Sender you will have to restart the environment before the changes can take effect.
    Also, if you are using RTHTTPSNDR as XAI Class you may have to include the HTTP Method - Post in the context.
    Hope this helps.
    Regards,
    Philip

  • Calling a WebLogic web service from a WebLogic web application

    We would like to call a WebLogic web service from WebLogic web application. The current architecture looks like:
    LoadBalancer--->iPlanet-1/iPlanet-2--->Firewall--->WebLogic-AppServer-1/WebLogic-AppServer-2
    The web application and web service are in the same WebLogic cluster. We would prefer that the web services do not get published externally.
    Does the WebLogic web application need to make a call back outside the firewall to the load balancer?
    Is there a way the web services can be called locally with load balancing?
    Can web service calls be made over the t3 protocol?
    Thanks,
    Mike

    I think one solution is to use a Java proxy to call the Web services.
    In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
    Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
    (For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

  • "java Web Service from WSDL" just hands me a SOAPElement, no java mappings

    Another beginner question. I've used jdev and built a WSDL starting from a somewhat complex xsd. I've used the wizard "Java Web Service From WSDL" taking defaults. It seems to correctly generate class files for all my xsd types. It produces a fancy looking java-wsdl-mapping.xml But the generated stub service implementation just gets handed a SOAPElement object. Why generate all that mapping stuff and then make me parse the incoming data myself with SOAPElement methods? How am I supposed to make use of the mapping work that the wizard seems to have done for me?
    Thanks,
    Steve

    Dear Tugdual,
    Thanks for your intrest in my issue. I narrowed it down to the following type in my xsd
    <complexType name="PersonInfoType">
    <sequence >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    This works fine - the "WebSerice From WSDL" wizard "knows" how to generate a class for PersonInfoType (with geters and seters) as well as useful stub implementation:
    public class PersonInfoImpl {
    public PersonInfoType processPersonInfo(String entityCode) {
    return null;
    However, if I make my type multiple occuring (to represnt e.g. rows from a db)
    <complexType name="PersonInfoType">
    <sequence maxOccurs="unbounded" >
    <element name="FamilyName" type="string"/>
    <element name="IndividualName" type="string"/>
    <element name="SpouseName" type="string"/>
    <element name="BirthDate" type="dateTime"/>
    </sequence>
    </complexType>
    Now the Web Service generator runs, but just doesn't generate any PersonInfoType class at all. For a stub implementation it genertes the following:
    public class PersonInfoImpl {
    public SOAPElement processPersonInfo(String entityCode) {
    return null;
    Now I'm stuck with the container just expecting from me a Soap Object and I have to build all the pieces myself with no java mappings to my xsd at all. Not very useful.
    Is there another xml structure I can use to represent data rows that is better supported by the wizard?
    Thanks,
    Steve

Maybe you are looking for

  • Can't auto update applications

    I have a problem with updating applications. When i confirm an application to update itself, it downloads the new version and tries to install and relaunch but fails and gives me "__ application does not have permissions to write to the applications

  • Table collection problem as in parameter

    Hi everyone, I'm having a little trouble in finding a solution for a problem. I suppose it must be very easy, but I cannot see it after many hours :( The package has no compilation errors The easy explanation :) Let's suposse I've in t_table the foll

  • Keeping album song orders in their original order???

    Hello everyone, I'm a nubie to mastering Itunes, but I was wondering if anyone can help me keep my albums, song orders, organized in their original track order, instead of alphabetically. Most of my mp3's are in individual album files inside the arti

  • I have updated to Itunes v11. Now I cannot start Itunes from my computer

    I  have updated to Itunes v11. Now I cannot start Itunes from my computer. I have tried clicking both on the short cut icon, the program file and the application file. The hour glass appears for a second then nothing. I have tried copying an audio di

  • Why won't Firefox 29 open downloads?

    Ever since that blasted Heartbleed came on the scene, Firefox 29 has been driving me baka nuts! First it blocks legitimate websites. Now it won't let me install downloads of software and programs! It won't even let me open programs in my Start Bar or