Reg: Outside In Webservice

Hi
I created a Outside in WS from a wsdl (ABAP WS) and chose generate java skeleton option on the wsdl. It creates a Stateless session bean as impl bean. Since it does not have a webservice annotation I chose to generate a WS out of it. Then i wanted to call the same WS ( to which the wsdl belongs to) I generated a WS Client out of the same wsdl in the same project. Now I have a proxy and a service in the same project for the same wsdl. When I deploy I dont see the proxy but I see the service. Any ideas why? I need the proxy to set up HTTP destination. Thank you.
Regards
Lakshminarayanan.V

Hi all
This problem was resolved with an internal message. The solution is as follows:
1. I can not create a proxy and generate a java bean skeleton on the same project.
2. You must create them in separate projects ( you will find the other is not necessary later) and the proxy
    project must have a bean using the proxy to allow proxy definition to be intialised.
e.g use a @webserviceref("proxy name"). Only then you will see it in NWA under WS administration
       proxy definitons.
3. So create a bean to use the proxy defintion (intialisation!!) or to have the same interface as the underlying webservice, in the other project create the Java skeleton. Copy the bean into your proxy project. Force it to have the annotation that uses the proxy for reasons in step 2.
4. U can now create webservice out of the copied bean in the proxy project. The other java baean skeleton project is not needed as indicated in step 1.
And it works.
HTH
Regards
LNV
Edited by: vln on Aug 14, 2008 6:04 PM
Edited by: vln on Aug 14, 2008 6:05 PM
Edited by: vln on Aug 14, 2008 6:06 PM
Edited by: vln on Aug 14, 2008 6:06 PM

Similar Messages

  • Created Outside-In webservice and Java Proxy

    Hi,
    I had created Outside-In webservice using XI 7.1 and implemented java bean with MDM API.
    I had retreived the image from MDM and converted to binary and stored in local.
    Now i wanted to attached the image in the response structure.
    How to acheive that to send data via httpsoap request?? Since the we need to attach the response structure with image.
    Anyone please give some idea or inputs..It will be helpfull..
    Thanks
    Sabari

    Hi,
    I had created Outside-In webservice using XI 7.1 and implemented java bean with MDM API.
    I had retreived the image from MDM and converted to binary and stored in local.
    Now i wanted to attached the image in the response structure.
    How to acheive that to send data via httpsoap request?? Since the we need to attach the response structure with image.
    Anyone please give some idea or inputs..It will be helpfull..
    Thanks
    Sabari

  • REG:http to webservice

    Hi ,
    Iam new to XI and had developed a http to webservice scenario.when I send the request through http adapter Ian getting the response as an error
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection refused: connect</SAP:AdditionalText></SAP:Error>
    Could any one help me out.
    Thanks & Regards,
    Gangadhar.S

    Hi Rao,
                One of the solution could be restart your Java Engine in the Transaction "SMICM"...
    And also test the host wether it is reachable or not in the transaction
    SM49----->Ping--
    >Additinal Parameters (give u r host name here and excute)
    Hope this wil solve u r problem
    Reward with points if helpful
    Regards
    Sai Ganesh

  • Reg:OPM invoking Webservice

    Dear team,
    We have a requirement where in which OPM has to invoke BPEL process and BPEl process will invoke third party system webservice and returns back the response from thrd party system to OPM. How can we acheive this functionality.
    How OPM will trigger the BPEL process?Do we need to configure the OPM to invoke the third party system.
    Pls help

    Please provide more specifics on the scenario/business processes in which OPM (the desktop application where policies are written/managed) needs to invoke another system.
    Typically, the only integration that occurs during authoring and managing policies/rules in rule documents is with a source/document control system to check-in/out changes. OPM already supports integration with source control systems OOTB.

  • WebService parameters

    Hi anyone out there,
    I am writing a web service and have a proxy inside it. I am trying to pass in SAPTables from outside the webservice. I realised two things:
    1. If I am connecting the asmx file with another client with sap.net connector i can pass the actual SAPTable object in. when i do this, and declare the item in the parameters, the xml tag generated by the webservice has two instances of the table structure. for example:
          <PtblPoItems>
            <BAPIEKPOC>
              <PO_5fNUMBER>string</PO_5fNUMBER>
            </BAPIEKPOC>
            <BAPIEKPOC>
              <PO_5fNUMBER>string</PO_5fNUMBER>
            </BAPIEKPOC>
          </PtblPoItems>
    Logically since this is a table, each of this instance (am not sure, not a VB.Net guru) will represent a line item (correct me if i am wrong), does this mean that the current table during run time has two empty lines in it?
    What is the best way to pass in parameters into a web service?

    So in other words, for 4.6 installs, if i want to use a web service i still need to generate a proxy as i have done? Three questons are tied to this response:
    1. I want to use a web service to access let's say BAPI_SALESORDER_GETSTATUS. Do i create a proxy in a aSP.net web service project, where i will be having both a .sapwsdl and .asmx file?
    2. Do i just add web reference to .sapwsdl file? from the responses i am getting from you, it might not be possible right? if not then i will be calling the proxy locally in the asp.net web service and treat the web service as a wrapper.
    3. In creating a wrapper I have some problems referencing the BAPIXXTable from the sapwsdl file into the calling application. For example, I have created a scenario as in number (2), and I need to pass a table into the RFC/BAPI. therefore i managed to :
    public function xxx(byref table1 as <proj>.<webref>.BAPIXXXTable)
    however, when i call from the other application (which i referenced this web service to), i need to populate the table entries, i can't seem to do this, as intellisense only shows the structures but not the table. What's wrong with my declarations?

  • About webservices.. please help

    Hi all!
    I need some information about webservices.
    If I am using JAX-RPC, is it guaranteed that the web service can be used behind firewall?
    Let me explain: If I have company intranet. I have setup a firewall for some applications so that they will not be available outside the firewall (suppose one application is on port x and I blocked port x).
    can I develop a webservice which will lie in the intranet and using which a client (any client, any location) can access the application on port x??
    is there another solution, you can suggest for the same problem?
    thanking you.
    .Mohit

    Sir,
    the web service will lie in intranet. it will try to access an application (or resource) within intranet. this resource is on port x. port x is blocked outside the intranet (i.e. the application/resourse on port x is not accessible on internet or say outside company's intranet). So, the client (which can be jsp page for example, in internet) will try to acees that application on port x, using the webservice.
    So, we have
    In Intranet :
    applicaton/resource on port x (cannot access outside intranet)
    Webservice (which will try to access the resource on port x for any client which is outside the intranet)
    Internet:
    Any client who wants to access the resource on port x.
    Please help.
    Thank you.
    .Mohit

  • Character encoding problems with weblogic stax implementation?

    Hello all,
    While using Stax to parse some XML, we encounter the following exception when the processor reaches the UTF-8 character C3 B1, ('ñ'):
    Caused by: Error at Line:1, token:[CLOSETAGBEGIN]Unbalanced ELEMENT got:StudentRegistration expected:LastName
    at weblogic.xml.babel.baseparser.BaseParser.parseSome(BaseParser.java:374)
    at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:199)
    We suspect that the processor's encoding might somehow be set to ANSI instead of UTF-8. I have read, in other posts, of a startup property related to web services:
    -Dweblogic.webservice.i18n.charset=utf-8
    However, this XML is not a web service request, but rather a file being read from disk after an MDB's onMessage() method is called.
    Could this setting be affecting stax parsing outside of webservices? Any other ideas?
    Thanks!

    As far as I know, we don't support changing outbound message encoding charset in 9.x. Both 8.x and 10.x support it. Check [url http://docs-stage/wls/docs100/webserv/client.html#wp230016]here

  • Identiy Assertion Provider

    What is the recommended way to access a database from an identity assertion provider?

    For assert identity the caller should have admin privs. Depending on how the client
    obtains and communicate with the EJB you have the option to setup a <run-as> tag
    then map the role to an admin user via <run-as-role-assignment> using the deployment
    descriptors.
    -Craig
    "Claude" <[email protected]> wrote:
    >
    Thank you for your answer !
    I had not thought of building a custom "UsernamePassword" authenticator
    and use
    the password as token. It seams to be a good simple way of solving the
    problem.
    The EJB that accepts a token as parameter is interesting as well (especially
    if
    they are
    performance issues). Are you sure that the class
    weblogic.security.services.Authentication is suitable to be called from
    an EJB?
    Thanks, Claude
    "Craig" <[email protected]> wrote:
    I don't know of many uses outside of WebService or WebApp except when
    using 2-way
    SSL where the client certificate can be used to assert identity.
    You could write an EJB that accepted the token and then the EJB would
    programmatically
    call identity assertion. Or if you had a custom authenticator you could
    take the
    token as the "password".
    http://edocs.bea.com/wls/docs81/javadocs/weblogic/security/services/Authentication.html
    -Craig
    "Claude" <[email protected]> wrote:
    Hello
    I'm wondering whether an Identity Assertion Provider can be used with
    a Java-client
    or
    if they are only for Web-clients (or Web-services).
    I'm also wondering how the client sends its token (through the credential
    set
    of the JAAS
    subject ?).
    Thanks
    Claude

  • WebService call from SAP outside NetWeaver

    Hi,
    can I call a webService from SAP outside NetWeaver? E.g. to call it directly from a RFC function module or other components?
    Best regards
    Nicole

    Hi,
    ist it, you want to consume a web service in ABAP?
    That can be done, yes. Searching exactly this on SDN brings up a lot of content like this: [Providing and Consuming Web Services in ABAP|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30f1b585-0a01-0010-3d96-ad0ea291c4f9] from my colleague Peter Mc Nulty.
    Regards,
    Benny

  • (261718088) Q ADVC-4 Can Timer Control/Polling be used to interact with webservices developed outside of WLS?

    Q<ADVC-4> Can Timer Control/Polling be used to interact with webservices developed
    outside of WLS?
    A<ADVC-4> Absolutely, Timer mechanisms are the appropriate way to make your web
    service a client to another web service and are very useful to provide polling
    mechanisms. Look at slides ADVC 9-11 to see more.

    Step by step, how did you arrive at seeing this agreement?

  • Looking for sample ANT files for building workshop webservice app outside the IDE

    Hi,
    I am currently planning to use Workshop for implementing a webservice application.
    I am looking for any sample ANT files that would enable me to build and deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

    Hi Raj,
    Yup, I did see that sample file. However, it only demontrate how to build an
    EAR file. I am also looking for samples of how to generate the client JAR (using
    proxy to gain access to the webservice) and also how to deploy the web service
    EAR file to the server.
    I tried to use the ANT tag "clientgen" referencing the generated EAR file. It
    complainted of the missing WAR file. I checked the content of the EAR file and
    found no WAR file generated.
    I am also looking for a better way of accessing the webservice more generically
    instead of going through the proxy which is quite coupled to a specific app server.
    Please provide examples.
    Regards,
    Bao Nguyen
    "Raj Alagumalai" <[email protected]> wrote:
    Hello Bao,
    Please refer to my post "Ant script for building EAR "dated August 21
    2003.
    I have attached a sample which does this.
    http://newsgroups.bea.com/cgi-bin/dnewsweb?cmd=article&group=weblogic.developer.interest.workshop&item=1285&utag=
    Thanks
    Raj Alagumalai
    WebLogic Workshop Support
    "Bao Nguyen" <[email protected]> wrote in message
    news:3f61477e$[email protected]..
    Hi,
    I am currently planning to use Workshop for implementing a webserviceapplication.
    I am looking for any sample ANT files that would enable me to buildand
    deploy
    both the webservice EAR and the client JAR outside the IDE.
    Thanks,
    Bao Nguyen

  • Reg: webservices  error  in  xi

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

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

  • Can we call a webservice which is defined outside SAP system from ABAP

    Hi All,
      i am very new to the ABAP. i would like to know how we can call a webservice which is defined in some other system from the ABAP code. if you are providing any sample code then it will be very help ful for me.
    Thanks in advance.
    - Siva

    yes its possible. check out the weblog
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Regards
    Raja

  • How to consume a customer WebService which is outside of SAPs network

    Hi,
    How to call a WebService-Provider which is running in a foreign/customer network? My WebService Consumer I created on a Netweaver AS 7.11 ABAP which is running in SAPs corporate network.
    I think I have to use a Proxy-Server. But how I do that and what are the settings for the Proxy-Server?
    Thanks,
    Christian

    yes, I have created a "Service Consumer" which you call "Service Proxy".
    But the problems is the SAP Firewall. I want to call an external "Service Provider" so I need to use a Proxy Server to pass the firewall.
    So with the word "Proxy server" I don't mean the "Service Consumer" (I know how to create that). I mean a "Proxy" to go out of SAP corporate network.
    But how can I set up a Service Consumer with this proxy and how are the settings for the SAP proxy?

  • Reg File- Webservice Async-Sync bridge

    Hi,
    I have File -WS async-Sync scenario.
    I have configured the RequestResponseBean-CallSAP-ResponseOnewayBean in my sender CC
    When i execute the scenario, the sender channel is throwing Error: java.lang.NullPointerException
    When i check the sender channel log, the SOAP call is executing, then
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: exception caught with cause java.lang.NullPointerException,
    File processing failed with java.lang.NullPointerException.
    Is there any thing specific to be configured while using File adapter.
    Thanks in advance.

    Hi,
       How is the WebService sync-Async implemented are you using any aysnc-sync bridge...
    is that process returning the response back in the correct format.. ?
    Rajesh

Maybe you are looking for

  • Change default boot display, is it possible?

    Hi! I have MSI N660 TF 2GD5 OC card with two devices connected: 1) LCD monitor via DVI-D, 2) Projector via DVI-A. Every time I turn on the PC I don't see anything on monitor until Windows starts. Video output during boot process goes to projector eve

  • Bought a TV season, but it's not showing up in 'purchases'

    I just bought a TV season and chose the option to 'download later', but when I go to Quick Links > Purchases, it's not showing up at all. The funds have already been taken from my iTunes credit and I see the purchase receipt on my account page. I che

  • Disable/Hide Blog from Mysite in SharePoint 2013

    Hi All, Do we have any chance to Disable/Hide creating blog option in Mysite 2013? When user accessing Mysite for the first time a new site collection is creating, any chance to avoid this? Do we have any chance to restrict users to create a sub site

  • Can i use my CS4 design premium on my new windows 7 64 bit laptop?

    can i use my CS4 design premium on my new windows 7 64 bit laptop? [info removed]

  • Registry Location and Settings

    Acrobat Pro v 7.14 on Windows 7. When I try to set global preferences such as Edit\Preferences\Page Display\ Default Page layout = single page, once I exit acrobat the setting reverts back to the old default setting of Automatic. In fact, none of the