Http to Http Web Services

Hello friends. I was wondering if anyone had performed any web services using
BEA essentially as a messaging hub, incoming XML/SOAP over HTTP which was simply
reposted to another machine or service over HTTP for delivery. I suppose that
we could simply write a .jws to create a new XML document based on the mapping,
and send it out by creating a new java URLConnection and posting, but I am looking
for a more seamless way to get the XML from one applicaiton to another simply
using BEA as a central delivery point.
Thank you, in advance.

Sure. Check out the attached router example.
-manoj
"CrackheadMillionaire" <[email protected]> wrote in message
news:3e9daeab$[email protected]..
>
Hello friends. I was wondering if anyone had performed any web servicesusing
BEA essentially as a messaging hub, incoming XML/SOAP over HTTP which wassimply
reposted to another machine or service over HTTP for delivery. I supposethat
we could simply write a .jws to create a new XML document based on themapping,
and send it out by creating a new java URLConnection and posting, but I amlooking
for a more seamless way to get the XML from one applicaiton to anothersimply
using BEA as a central delivery point.
Thank you, in advance.
[sample23.jar]

Similar Messages

  • How to make inDesignCS2 4.0.2 plug-in send an http resuest to web service(20 May 2007)

    Hi, everyone,
    I'm developing a plug-in for inDesign CS2 4.0.2. This plug-in is running on the client side. It requires such a functionality as sending an http request to the server side. Then the server side will response to this request by making an action to SPS portal site and return the result through web service.
    Could anyone like to tell me what is the right way for me to implement above functionality. Any suggestion is appreciation.
    You may contact me by any mean of the following:
    JackLin
    SunSourcing (Hangzhou)
    http://www.sunsourcing.com
    http://www.sunyard.com
    Office: +86-571-56686136
    FAX: +86-571-56686660
    Mobile: +86-13957139071
    QQ: 280196343
    Email: [email protected](Business), [email protected](Personal)
    MSN: [email protected]

    Dear Eugenio Andres and Jackeen,
    Thanks a lot for your help. Could you please give me some advices on how to code independent of platform. I need my program run both on windows and macintosh. I suppose there's a way to finish my above task using cross platform soap related c++ classes. Is it right?
    Looking forward to your response.
    JackLin
    SunSourcing (Hangzhou)
    http://www.sunsourcing.com
    http://www.sunyard.com
    Office: +86-571-56686136
    FAX: +86-571-56686660
    Mobile: +86-13957139071
    QQ: 280196343
    Email: [email protected](Business), [email protected](Personal)
    MSN: [email protected]

  • Make https invocation from web service code?

    I have a JAX-WS web service running in WebLogic 10.3.5. From within that web service code, I need to make a SECOND web service invocation to another web-service application to obtain some necessary information, and that second web service invocation must use HTTPS protocol. Unfortunately, I'm getting a "java.lang.IllegalStateException: Cipher not initialized" exception, which makes me think the SSL handshake is failing.
    Can this be done? If so, how?

    yes, you should be able to do it
    http://docs.oracle.com/cd/E23943_01/web.1111/e13713/transport.htm#CIHGAEJD
    1.) you can use the system properties to load truststore as specified from above link inside you client web service code
    0r
    2.) you can load using -D options as specified in below link
    http://docs.oracle.com/cd/E23943_01/web.1111/e13713/transport.htm#i238552
    or
    3.) you can use keystore configuration to configure trust store
    http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/security/ConfigureKeystoresAndSSL.html#WLACH03024
    Regards,
    Sunil Polineni

  • Http Adapter Vs Web service

    Hi Experts
    Can anyone give an idea when can we use the Http adtater and when can we use Web service request (SOAP Adapter)
    Thanks
    PR

    > Can anyone give an idea when can we use the Http adapter and when can we use Web service request (SOAP Adapter)
    System Integration works the other way: First you identify your scenario, then you decide which adapter is best suited for.

  • FIM 2010 R2 Web Service Connector SAP HCM HTTP binding

    Hi all,
    I'm currently configuring the FIM web service connector to connect to a SAP HCM system.
    I followed the documentation (http://www.microsoft.com/en-us/download/details.aspx?id=29943) to create the necessary web service on the SAP system. With the only difference that
    I'm not able to select "None" (HTTP) under the Web Service Communication Security Settings as described in the documentation.
    I had to select SSL and now get the following error message in the Web Service Configuration Tool.
    Synchronization Service Manager
    Following Endpoints are configured with unsupported binding:
    - 'customBinding' binding for 'Z_IDM_CONNECTOR_SOAP12' endpoint
    Please configure endpoint(s) with http binding only and refresh service(s).
    Web service connector cannot be configured through Synchronization Service Manager if endpoint binding is not basic http.
    Any help how to fix this is highly appreciated. I already can see the available BAPIs in the Web Service Configuration Tool. (In other words "Discovery" is working.)
    I'll get the same error if I try to load the configration file into the Web Service Connector in the Sync Engine.
    Thanks
    Chris

    Ok. I got that fixed by changeing the Transport Security to "None" in the Security Profile of the Service Definition.
    I'm now facing a different error that you might be able to help.
    I'm not able to add additional BAPIs to the SU_USER Function Group as described in the documentation because the "Plus" Button is missing in my screen. How can I add these BAPIs in order to use the Web Service Configuration Tool with the provided SAP ECC
    6 configuration template?
     Thanks
    Chris

  • How to use IGS via Web Services (or HTTP)?

    IGS is well integrated in Web Dynpro, BSP, BEx and so on...
    Via ABAP it's easy to call it but I do not find how to use it via HTTP (or better Web Services).
    Any idea?
    Sergio

    Dear Sergio,
    a scenario that makes use of the HTTP interface of the IGS is Web Dynpro Java. This may also be an alternative for you. But with a lot of technical background it is also possible to generate charts using the IGS via HTTP directly (Web Services are not supported).
    Prerequisite is an IGS somewhere in the network that has at least one HTTP listener defined and the XMLCHART interpreter is installed.
    You must send an HTTP request to the adress http://<igs-host>:<igs-port>/XMLCHART. The request must at least contain the parameter with name data as first parameter. This parameter contains the chart data as XML, see below. In addition all further parameters (the name doesn't matter but I would recommend something like custom1, custom2, ...) must contain the chart customizing as XML.
    If you already used the XMLCHART interpreter in an ABAP application or BSP you may know the data and customizing xml format. If not you can download the SAP ChartDesigner from the Downloads --> Web AS section of the SDN. This download contains a pdf describing the data xml format and the tool itself which can be used to create the customizing xml in an interactive manner.
    All HTTP related coding must be done by you.
    Best regards
    Matthias

  • Web Service communication through HTTPS

    Hi Experts,
    I have created a web service for my offline interactive form. The connection works fine if I give Communication security as "None" in transaction SOAMANAGER. But it doesn't work if I give HTTPS as Communication security. Will adobe forms work with HTTPS connection using web service?
    In my R/3 server HTTPS port is open.
    Thanks & Regards,
    Sanoosh

    Hi Sanoosh,
    There seems to be a routine problem with Adobe on HTTPs even when it says HTTP/HTTPS in dataconection.
    follow the below post with similar issue.
    Re: Calling HTTPS Webservice error
    the final post from Otto there gives you series of steps to resolve this.
    Regards,
    Sai

  • SOAP Web Service Authentication configuration

    Hello,
    I've got a little problem with Web Service authentication configuration.
    I'm working on the SAP NetWeaver CE EHP1 7.11. I also have a XMII application deployed on the server and there are some SOAP Web Services(over XMII Transactions) that require basic authentication.
    I use all Web Services in the EJB layer. So, I've generated proxy using SAP NetWeaver as a Web Service Runtime for generation. And Iuse an injection mechanism to get a service implementation:
    @WebServiceRef(name="GetBatchListService")
    private XacuteWS batchListWS;
    In this case I could use Single Service Administration application in the NetWeaver Administrator@SOA Management@Application and Scenario Communication to configure basic authentication for EVERY Web Service. And this configuration disappears after every redeploy.
    The question is how and where could I configure authentication for all web services?
    I've read a lot of documentation, but, unfortunately, I haven't found needed one. I could see 2 direction of searching now, it might help:
    1) Destination: Configure HTTP Destination or Web Service Template Destination and use it in all Web Services proxies somehow.
    2) Find Configuration way: Create a configuration group or anything else to configure all services from one screen.
    Best Regards,
    Dmitry

    Dimtris,
    If your WSDL url is pointing to the URL of the Adapter Engine as shownin the Hot to Use the SOAP adapter there is no option. You cannot add it to the SOAP Url.
    But, if you change the SOAP Url to the Url shown in this blog by Stefan Grube then you can add the user id and pasword to the url by adding sap- user=userid and sap-password = password.
    The optin shown ion the blog by Grube can be used as long as you do not have to use SOAP attachments and in this  case you would not need both sender SOAP adapter and a sender agreement.
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    Regards
    Bhavesh
    Regards
    Bhavesh

  • Security Error when trying to access web service

    I have an app that connects over HTTPS to a web service on
    our internal network. The interface to the web service was created
    by using the WSDL Import function of the Flex IDE.
    I can run the app and retrieve data without a problem when I
    run from the debug-bin folder that the Flex IDE compiles to.
    However, I cannot connect to the web service from anywhere else,
    such as a different location on my own local drives, a network
    drive, or another persons machine.
    I've setup a local instance of Apache with mod_ssl so I could
    host the app under an HTTPS connection itself, which the
    documentation seemed to imply that would work. However, when I run
    the app, I get:
    [FaultEvent fault=[RPC Fault faultString="Security error
    accessing url" faultCode="Channel.Security.Error"
    faultDetail="Destination: DefaultHTTPS"] messageId=null
    type="fault" bubbles=true cancelable=true eventPhase=2]
    I am accessing the app by going to
    https://mymachine.companydomain.com/myapp.html, and the web service
    is being accessed through https://webservice.companydomain.com/.
    Anybody have any thoughts on what I should be looking at?
    I've been searching and trying things for a few days with no luck.
    Any help would be appreciated. Thanks.

    The SSL handshake works differently to a browser as it is making the connections automatically.
    The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
    This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
    If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
    cheers
    James

  • Web Service Task - XML Task - values are empty while trying to read from XPATH. Can someone help me on this ?

    Hi,
    I have to fetch Emp details (emp code, last name, first name ...etc) from a WSDL.
    for this i have created HTTP connection -> created Web Service Task -> created XML Tasks for those emp code, last name, first name ... etc for each -> set a
    breakpoint over post execution -> verified & found that the variables are blank though my
    results variable has some XML data generated.
    please see some screenshots as below & suggest me how to get is succeed & put the values in database table:

    Thanks a lot in advance !!! :) 
    best regards,
    Venkat

  • Cant enable ePrint web services for Color LaserJet M551

    Hi,
    I've read all posts in this forum about the ePrint web services enabling issue and tried out all suggestions with no luck.
    Here is the situation:
    The printer works fine locally. I can print without problem.
    The printer is wired.
    All ports in my router are open for outbound connections, including UDP.
    Using communication logs in my router I can see that the printer can resolve the DNS-names using either my ISP DNS-server or the suggested 8.8.8.8 and 8.8.4.4. Using nslookup shows "registration-pro-site1print.houston.hp.com" resolves to 15.240.60.111 and "registration-pro-site2print.houston.hp.com" resolves to 15.201.224.79.
    This indicates that the printer can indeed resolve the addresses. The logs also reveils that the printer communicates with the servers (connection established and data transferred) over https (probably the web service) but still after some minutes the enabling process times out.
    I've tried this enabling procedure for several days now so my believe is that the registration servers should have worked some time during that period.
    I'm frustrated
    ....even more frustrated
    what am I doing wrong?
    Please help !!
    trying to setup eprint for my brand new LaserJet Color M551dn and it fails with the
    This question was solved.
    View Solution.

    For whom out there having the same problem as I had. As HP couldn't help me out I restored factory settings and reconfigured everything and voilá, suddenly the printer managed to enable web services and print out the print code.
    Good luck to you facing the same problem !!
    /MrQQ

  • Protecting a Web service in XI 7.0

    Hello Experts,
    The developers have asked my help to disable access through plain http to a web service...
    In theory, ssl is already enabled. As I'm able to access XI through the browser using https (the certificate is self-signed, but that shouldn't be a problem).
    The Sender Channel is set as HTTPS with client autentication. We've defined the web service and we are able to use it with plain http.
    All the documentation I have found throughout the web is to seal the whole xi with ssl, but we want to secure just one web service.
    any help?
    Cheers,
    Thiago Delou
    Basis Team

    I dont think SSL for a service means enabling HTTPS access of the server. For enabling one service to use SSL, you have get a certificate from a CA, import it in to PI Java/ABAP stacks. Then configure in the ABAP stack for the plain http adapter (you might have to create a new one by copying the default HTTP adapter on the ABAP stack).
    Not absolutely sure though. Just some info..!!
    VJ

  • How to keep alive a session in Web Services?

    I have to do my project, that will be including some following features:
    1. Login to Application through Web Services method. For example:
    http://mydomain.com/web-services/Login?WSDL
    2. After logging in, use mySms method to send message to Cellphone through Web Services! For example:
    http://mydomain.com/web-services/mySms?WSDL
    My questions are:
    1. How can I keep alive the session after logging in the application in Web Services? In Web, I can use "Session".
    2. If someone has not logged in the Application, he/she could not use mySms method for sending Sms. How can I do that?
    3. I know, when I invoke a Web Services, one JavaBean has been called, and this bean is persistence with his own states. It means, if I set value to parameters of this bean, these values are persistence for invoked methods by other persons.
    For example:
    mySms bean has a private field "jid" inited with NULL value.
    Person A invoked mySms.
    Then, A set jid of mySms to value "A".
    Person B invoked mySms. B got jid value. He receive the result value is "A".
    The question is, how can I set mySms bean so that mySms bean is not persistence?
    Thanks many!

    Hi,
    I can right away answer your FIRST Question.
    Since WebServices are PURELY Based on SOAP which is in tern based on HTTP, they rely on a Stateless protocol.
    I am sure you know that the HTTP is the STATELESS Protocol and so you can not maintain Session and so EACH Http REQUEST is considered as a SEPERATE REQUEST.
    Now, still you want to maintain the Session in WebServices,
    The simple answer is PASSING PARAMETERS.
    Just Maintain your Session on Client (If you are using JSPs or Servlets to CAll WEBSERVICES then maintain Session through your HTTPSession) and each time you Invoke WebService PASS ON REQUIRED Parameters.
    This Approach is Exactly like your URL REWriting OR your Parameters Passing through QUERY STRINGS.
    I hope you got what I am saying!
    Take care,
    Himanshu/

  • Certificate for a web service

    Hi,
    Our company has a SAP Netweaver Enterprise Portal implementation.
    Recently we have been asked to create a Web service from a Java class in SAP Netweaver using Netweaver Developer Studio. The connection to Web service must be an https connection.
    In steps of web service's creation we saw that we have the option to create an https (secure soap) web service.
    Can anyone tell us how we can create an https web service?
    The portal server belongs to a Windows Active Directory Domain that has a Certification Authority from which we can request and take a certificate.
    What is the configuration that we must do on server, so that we can call the web service using https?
    Thanks in advanced

    Hi,
    Check this URL:
    [Web Services Over SSL |http://www.pankaj-k.net/WSOverSSL/WSOverSSL-HOWTO.html]
    Regards,
    Shyam.

  • Web service Security using X.509 certificate

    Hi All,
    I have a web service deployed on the SAP Web AS J2EE.
    I want to include Authentication option in my web service
    I have configured the settings for using X.509 certificate(HTTPS) in my
    web service configuration and similarly I've configured my client proxy
    for the same.
    My question is..... from where do I get the X.509 certificate?
    actually I have the .crt and .der files, which I created from
    the visual administrator.
    And also do I need to install anything on my SAP server
    in order to use the authentication service? (Any prerequisite)
    Thanks,
    Talimeren

    Hi Talimeren,
    when you want to use certificates you have to setup SSL which you've started already. You have to get and import a server certificate which authenticates the server while the client creates a SSL connection. The cert has to assigned to the SSL port. For NW04 you can find the guide here http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    If you want client authentication by certificates as well you have to import at least one root certificate from a certficate authority (CA) which you trust and by which all user certificates are signed.
    SAP delivers the IAIK library for WebAS security, but this depends on your WebAS version and installation. I suggest you setup SSL and try to make a connection. If the connection can be made, the security library should be there.
    HTH
    Daniel
    Message was edited by: Correct Link
            Daniel Sass

  • How can a web service  be compliant with the WTK2.1?

    I'm using WTK2.1 to develop mobile clients consuming web services.
    After published a web service by Apache Axis, I use WTK2.1's Stub Generator to
    generate the stub class.
    As required by JSR172, I use the "document/literal" encoding style.
    The web service class has only one method:
    public int newUser(String userName, String password) {
    But when I use Stub Generator to generator the stub class, I get the following messages:
    ************************ Error messages begin *****************************
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "newUser"
    warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not allowed in doc/lit for soapbind:body: "newUser"
    warning: ignoring operation "newUser": more than one part in input message
    warning: Port "User" does not contain any usable operations
    ************************ Error messages end *****************************
    And following is the wsdl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://localhost:8080/web/services/User" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/web/services/User" xmlns:intf="http://localhost:8080/web/services/User" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://ws.mauction.scucdut.edu.cn" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="http://ws.mauction.scucdut.edu.cn" xmlns="http://www.w3.org/2001/XMLSchema"><element name="userName" type="xsd:string"/><element name="password" type="xsd:string"/></schema><schema targetNamespace="http://localhost:8080/web/services/User" xmlns="http://www.w3.org/2001/XMLSchema"><element name="newUserReturn" type="xsd:int"/></schema></wsdl:types>
    <wsdl:message name="newUserRequest">
    <wsdl:part element="tns1:userName" name="userName"/>
    <wsdl:part element="tns1:password" name="password"/>
    </wsdl:message>
    <wsdl:message name="newUserResponse">
    <wsdl:part element="impl:newUserReturn" name="newUserReturn"/>
    </wsdl:message>
    <wsdl:portType name="User">
    <wsdl:operation name="newUser" parameterOrder="userName password">
    <wsdl:input message="impl:newUserRequest" name="newUserRequest"/>
    <wsdl:output message="impl:newUserResponse" name="newUserResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="UserSoapBinding" type="impl:User">
    <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="newUser">
    <wsdlsoap:operation soapAction=""/>
    <wsdl:input name="newUserRequest">
    <wsdlsoap:body namespace="http://ws.mauction.scucdut.edu.cn" use="literal"/>
    </wsdl:input>
    <wsdl:output name="newUserResponse">
    <wsdlsoap:body namespace="http://localhost:8080/web/services/User" use="literal"/>
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="UserService">
    <wsdl:port binding="impl:UserSoapBinding" name="User">
    <wsdlsoap:address location="http://localhost:8080/web/services/User"/>
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    So, can anybody tell me how to make the web service be used by the Stub Generator properly?

    Hi,
    I am new to WTK 2.1 and I am also using Axis to generate WSDL.
    one thing I figured out was to remove the namespace info behind all body tags.
    for instance in your code, replace:
    <wsdlsoap:body namespace="http://localhost:8080/web/services/User" use="literal"/>
    by
    <wsdlsoap:body use="literal"/>
    and it should work. don't ask me why but it worked for me.

Maybe you are looking for

  • HOW TO USE FUNCTION Deletion of Requests from the Change Log IN PRCSES CHAN

    Respected all i used Deletion of Requests from PSA from the prcess chain and found good results, now i have only one request at the psa and thus i am doing good space utililisation. but when i am using Deletion of Requests from the Change Log i am no

  • VO with Adobe Acrobat 9 Pro

    Can someone please give me a hint on how to get VO to focus on the document pane in Acrobat? I cannot get VO to read a PDF in Acrobat. It reads the Bookmarks/Pages pane just fine, but will not go to the documents pane. Even when I close the other pan

  • Opening a pages document in Word

    Hi there. I am mainly using Pages to edit documents that have been generated in Word by other computers. I have no problem opening and editing these files but when I am finished, is there a way of saving them so that I can email them back to the othe

  • How to configure proxy services to use the file transport?

    Hi, I have configured a proxy service to poll for files in the specified folder. And it is configured to use the file transport. At runtime, I'm getting the follwing exception - <Apr 27, 2012 4:08:28 PM GMT+05:30> <Error> <WliSbTransports> <BEA-38160

  • The # sign is part of db field names

    I'm using an odbc to a database where the # sign is part of the field name. I have researched it and found that suggested solutions don't work. Anyone know of a workaround for a field name ISREC#