External web service call from WebDynpro for ABAP

Hi...
I'm inspecting Web Dynpro For ABAP, and trying to call external web services.
I'm created Web Service, CAF-AS.
I create the proxy class(se80) and Logical Port(lpconfig), and I take the web service in componentcontoroller of my web dynpro using Web Dynpro Wiserd.
Though I expected the context to be registered by the same type as the service interface,
they are created strange structure as follow.
<Context>
CONTEXT
---FIND_BY_PARAMS
IMPORTING
INPUT
CONTROLLER
ORDER_TEXT_BY_PARAMS_REQ
---EXPORTING
OUTPUT
CONTROLLER
ORDER_TEXT_BY_PARAMS_RES
The CONTOROLLER is defined by the type PRXCTRLTAB, and
ORDER_TEXT_BY_PARAMS_* has deep structure, as follow.
ORDER_TEXT_BY_PARAMS_REQ
---CONTROLLER    type:PRXCTRLTAB(structure)
---QUERY_TABLE  type:ZTABLE_NAME
---QUERY_FIELD   type:ZFIELD_NAME
---QUERY_OPTIONS  type:ZORDER_TEXT_QUERY_OPTION_TAB
I want to use only service paralmeters,  that is named query_*.
I tried to excute the webService but dump  "OBJECTS_OBJREF_NOT_ASSIGNED" occurs.
I think I must set any value to CONTOROLLER,?but I have no idea What & How I should set value.
please let me know, what is the CONTOROLLER, and how to call external web services.
Regards,
Naoya Tsugo,

I solved problem by myself.
There was carelessmiss in activation of LP.
Now, I'm closing the topic.
Thanks and Regards.
Naoya Tsugo,

Similar Messages

  • External Web services call from within Oracle Pl/SQL

    Hi there,
    can anyone guide me whether there is any option to create web services call from Oracle Stored procedure ? ( External web services are available using SOAP)
    Thanks in advance.
    Regards,
    Jatin

    http://bit.ly/Uiaies

  • External Web Service call using WebMethods in Abap

    Hi everyone,
    I have presented with writing an interface, requested by a third party, in SAP ABAP that will call external web services from a java system. What I have been told is that I will be calling these services through webMethods. What I take is that webMethods is an SAP proxy wrapper around the web service. Beyond that I do not know what any of this is. I have asked my long-time ABAP developers and they have not seen any of the web calls through webMethods. Can someone present me with a basic understanding, maybe some code examples too? Also is this a standard function module call or a method in a class modules? How will it look to ABAP?
    Thanks for any info you can provide,
    Steve

    Hello,
    to be a bit more precise, WebMethods (or Business Connector) will register in sm59, and then you can make a function call in ABAP to this remote destination.
    You will have to check what parameters the WebMethods Service needs and pass them from ABAP.
    WebMethods then will take care of the WebService call to the external system and send the result back.
    CSY

  • External Web Service call from Sandbox Solution in SharePoint 2010

    Can anyone from this forum can tell me how to call an external web service from Sandbox solution?
    It would of great help as got stuck on it for a long time.
    Note:- Cannot use Silverlight and JQuery to call web service from client side.Cannot use full trust proxy.

    Hi Dibyendu,
    Sorry for delay but fact that we can not call webservice in sand box solution(It's does not support).
    The reason behind of this sand box solution support only full trust code.
    One or more assemblies referenced by the XmlSerializer cannot be called 
      from partially trusted code.
    When you create a reference to a Web service, Microsoft Visual Studio®.NET creates and places one or more objects in your assembly to store the argument data passed to the method(s) in the Web service. These objects are serialized using the XmlSerializer class
    when you invoke one or more of the methods in the Web service. By default, if your assembly is strongly named and resides in the BIN directory, callers with partial trust cannot access objects within that assembly. When you make the call to the Web service
    method, the XmlSerializerdetects that there are partially trusted callers on the callstack (i.e. your assembly) and prevents the serialization from taking place even though the object resides in the same assembly.
    Er.vinay

  • Initiating BPM Process Instances from External Web Service Call

    I'm attempting to update the HelloWorld example so that I can create an instance of the process from an External Web Services Call rather than via the Workspace. Our current SOA Architecture is configured so that all BPM instances are managed through a .NET SmartClient via the Service Bus and the use of PAPI W/S and so I'm wishing to recreate this capability in the new BPM.
    I understand the replacement for PAPI W/S is Human Workflow so I've therefore updated and republished the HelloWorld Example with an Exposed 'TaskService' Service for the Human Task within the BPM Process.
    I've then attempted to reference the TaskService through our existing BPM, and have been able to import a number of generic WSDL's as follows:
    Task Service
    http://vmaquatestapp2:7001/integration/services/TaskService/TaskServicePort?WSDL
    Task Metadata Service
    http://vmaquatestapp2:7001/integration/services/TaskMetadataService/TaskMetadataServicePort?WSDL
    Task Query Service
    http://vmaquatestapp2:7001/integration/services/TaskQueryService/TaskQueryService?WSDL
    When I examine the available operations for these generic services, there are quite a lot, each of which have a fairly complex schema. I believe I should be using the TaskService: InitiateTask Operation to create an instance of my BPM Process but my questions are:
    - Is the above the correct method of interacting with BPM Instances from an external system such as the Service Bus?
    - Does anyone have any examples of a basic XML payload that would initiate a process instance?

    I created an process with a message start event and can call it from an external web service call. I can also pass input arguments and map those to process data objects. However I can not find how to return data as response to the external web service call as e.g. the process instance id.
    Is it possible to this?
    Gr,
    Gert Jan Kersten

  • Architecture/design for high volume web service calls from on Demand

    Hi,
    We have hundreds of end users (less than 600 users) that will be initiating web service calls from On Demand that will deal with both querying (stateful transaction) and inserting/updating data (stateless). Currently, we see a limitation on the number of stateless sessions (33) that can initiate web service calls. We are afraid this will lead to poor performance with the number of sessions that are allocated for stateless sessions.
    Can someone provide any design or framework information that can be implemented for high volume web service calls from On Demand? We anticipate 35K+ web service calls that will be initiated from On Demand per hour.
    Thanks.

    Hi,
    We have hundreds of end users (less than 600 users) that will be initiating web service calls from On Demand that will deal with both querying (stateful transaction) and inserting/updating data (stateless). Currently, we see a limitation on the number of stateless sessions (33) that can initiate web service calls. We are afraid this will lead to poor performance with the number of sessions that are allocated for stateless sessions.
    Can someone provide any design or framework information that can be implemented for high volume web service calls from On Demand? We anticipate 35K+ web service calls that will be initiated from On Demand per hour.
    Thanks.

  • Configuring SSL to make a HTTPS web Service call from XI

    Hi All,
    We are making a <b>https web service call</b> using soap adapter from XI. Looking at the various posts and SAP help links, we are configuring SSL for the same.
    The procedure given in SAP help has been followed to configure SSL but with no luck. If someone had done this could you please give a <b>step by step procedure</b> to configure SSL, we might have missed out on something.
    Also are there are <b>any other settings apart from SSL</b> to be done to make a  https web service call using soap adapter from XI.
    Cheers,
    Chandra

    user13046122 wrote:
    I have an old pl/sql "helper" package, originally written to make SOAP Web Service calls from the database - it uses UTL_HTTP to invoke the target services.
    I now need to make SOAP Web Service calls - from an 8.1.7.4 database
    But the version of UTL_HTTP inside 8.1.7.4 does not contain the functions needed in the helper package
    Can anybody suggest a means of making SOAP Web Service calls from an 8.1.7.4 database ?I think you'll be very lucky to find anyone here who still has access to a version of Oracle that is that old.... I mean... that's like what? 15 years old at least? I'm surprised you've still got hardware that can run that.
    It would probably help if you could post what code you've got and explain which function(s) it's complaining about, as I doubt people will want to guess.

  • Making Web Service calls from a Form in the WorkSpace

    I am getting conflicting information about this, so I hope someone here could clarify it. TIA.
    This is what I want to do:
    after a form is displayed/launched in the WorkSpace,
    when the user Tabs out of a field (Exit event) on the form,
    I want to make a Web Service call from the form,
    get the result from the WebService,
    and use the Result to populate another field on the form.
    I know for certain that this works if I Reader-Extend the form,
    and I set the JavaScript at the Exit event (to execute WebService call)
    as "Run At Client".
    The question is:
    can I make the WebService calls without Reader-Extending the form???
    I have been told that, yes you can,
    but *only if* you let the JavaScript "Run At Server".
    I tried that, but it caused the Reader to crash.
    Some other people told me,
    no you can not,
    even if you "Run At Server", the form still needs to be Reader-Extended,
    when using it in the WorkSpace environment.
    So, what is the truth? can someon tell me?
    Can I make WebServers calls from the Server-side at all?
    Do I really need to Reader-Extend the form even if calling it from server side?
    What exactly is it SUPPOSED to work?
    thanks

    yes, thank you both. I got the fix from Adobe Tech Support last week. It's working.
    The fix I got included a rather complex looking "Submit Service" though. Makes me wonder how a regular user would know that he needs to write such a Submit Service?? and even if he knows that he needs a special Submit Service, would he know how to write it??? I found no documentation for this type of things either.
    Shouldn't this solution be published somewhere in Adobe's website? Dev Lab perhaps?

  • How can we make a external web service call within tjspSelfRegistrationTile

    Hello Gurus,
    Can anybody tell me how can we include a JAVA code within the tjspSelfRegistrationTiles.jsp page? so that we can make a external web service call which includes the logic of validating the UDF values?
    The requirement is to validate the value of a field provided by the user on the OIM self registration page. If the user has provided invalid value for that particular field then the user should not be able to register himself - an error message should be displayed. I have to compare the value provided by the user with some already hard coded ones within the JAVA code. If the value of the field is one of the hard-coded ones then only the user should be able to register himself.
    Any Response/ideas/concepts truly appreciated.
    TIA,
    - oidm.

    Have you ever tried something like this?
    1) Create an error message definition where error code starts with Adapter. for example, ADAPTER.Invalid_TemporaryAccess_Dates.
    2) Create an entity adapter and assigns it to the Request object, pre-insert;
    3) Logic of your adapter
    Tests if the REQ_OBJ_ACTION is Create Entity
    Performs your validations
    Handles an error the validation is not ok
    Thanks,
    Renato.

  • Web Services call from SOA to BI Publisher

    Hi,
    I have never worked on this web service call from SOA to BI Publisher funcationality and I am strugulling to understand on how this woks.
    My requirement is that SOA will call BI Publisher on a parameter basis eg( some id) to a report and BI publisher should pick that id and execute the report and place the PDF file (file name is combination of id and date) into specific location in the FTP server and in return BI Publisher should send the response to SOA defining the file name and location of the FTP server.
    Can anyone please help on this. This is a big sore on my head.
    Thanks in advance.
    Regards,
    Apk

    Thanks for your replies.
    Actually I am working on Forms 6i version , so does same solution works on Forms 6i as well.
    Also this application is for address search, so user provides for some key like PostCode etc and then call the Webservice and it will give you list of options.
    Now user will choose and confirm one address.
    Do all this interaction possible using UTL_HTTP?
    After going through link provided , I need to implemented in following steps:-
    1) Using JDeveloper 10.1.3.1.0 Create a SOAP_REQUEST.
    2)Create a wrapper program who calls Web Service.
    3) Call this Wrapper Program from our form and PL/SQL Package.
    Please let me know if this sounds OK.
    Thanks a Ton,
    Manisha

  • Special Character XML Web Service call from Flex

    Hi,
    Let me first give a little background.
    I have to query and return data in XML format. To do so, I have created a custom DSC component. In cases where XML has special characters, LC throws error saying that XML is not properly formed. To over come this issue I used CDATA tag at DSC component. Now LC works as it should and I returns correct result.
    I have a web service call from Flex to get this XML result. Every time i trigger this web service I get an error message saying </document> tag is missing.
    I understand in Flex, web service returned data is wrapped in CDATA tag, thats what i causing all this issue.
    I am not sure, how to handle this situation, I am sure this is a common problem and there should be ways to work around it.
    I would really appreciate if any one could point me in the right direction.
    Thank you ..

    The web service has four operations in it, I need pingQuery operation execution code since it doesnot need any input value.
    I have used code something like this.. Any one please correct me if I am wrong..
    <mx:WebService 
    <mx:WebService> id="webService" wsdl=""https://hydrogen.csd.sc.edu/axis2/services/AcademicHistoryService?wsdl
    >
    <mx:operation name="pingQuery"resultFormat="
    object"result="resultHandler(event);"
    fault="faultHandler(event);"
    >
    <mx:request>
    <PingQuerySpecification>
    <value>
    fsdf
    </value>
    </PingQuerySpecification>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    private function resultHandler(evt:ResultEvent):void {Alert.show(ObjectUtil.toString(evt.result));
    private function faultHandler(evt:FaultEvent):void {Alert.show(evt.message.toString());

  • Web service call from a ReadWriteBackingMap

    We are thinking of making a web service call from a ReadWriteBackingMap
    <cachestore-scheme>
    <class-scheme>
    <class-name>
    We will extend ReadWriteBackingMap class and override load() method to make a call to a web service.
    This cache will be read only data and will hold relatively static data like list of c
    ountries.
    We expect to use Spring framework/JDK 1.5/WS security to make this web service call. We hope to
    have the jar/config files available in server classpath when we start coherence servers.
    1. Do you see any issues with this approach?
    2. Any best practices?
    3. Server resources(memory etc) will be shared between the server java process and this call to
    web services, getting the xml, parsing the data etc. Any issues with that?

    Hi,
    I would recommend implementing the web-service callout logic in a custom cachestore/cacheloader (see the CacheLoader.load() method) and configure your rwbm with your cachestore implementation.
    While subclassing RWBM and overriding functionality can be done, the CacheLoader interface is the intended method designed to accomplish this kind of task. RWBM internal implementations may perform other internal bookkeeping and may vary over time.
    See also:
    http://download.oracle.com/otn_hosted_doc/coherence/351/com/tangosol/net/cache/CacheLoader.html
    http://wiki.tangosol.com/display/COH35UG/cachestore-scheme
    http://wiki.tangosol.com/display/COH35UG/Sample+CacheStores
    thanks,
    -Rob

  • Calling external Web Service: PI is looking for a logical port and proxy.

    Hi,
    My scenario is  ECC Proxy -> PI -> External Webservice (WS adapter).
    the Web service adapter fails with the error message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">WS_ADAPTER_SYS_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>System error while calling Web service adapter: Error when initializing SOAP client application: &#39;error_text&#39;</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When I debug the message processing, it is looking for a port in table SSRVRTCONFIG, finds it(entry created automatically when WS adapter and the corresponding receiver agreement is activated in ID.
    Then the program looks for an entry in "SRT_CFG_CLI_ASGN" for a proxy and logical port combination and errors out.
    to be able to call an external web service, do we need a proxy to be created? I tried to create but the proxy creation fails because the external WSDL has some unsupported tags.
    Also do we need to do any other configuration in SOAMANAGER? I am assuming not because the Web service is external.
    Any help would be appreciated.
    Thanks
    Vijay

    I already checked that note and made sure that the points mentioned are met. I have a trace set up on the target system and would know if the call reaches them and then fails in authorization. Right now the call doesnt even reach the target system and also from debugging I know that the program is looking for a proxy and then fails.

  • Web Service call from VB Macros & web service for logging in

    Hi All,
    Is it possible to call a SAP web services from a Visual Basic macro?
    1) If yes, how to do so?
    2) Is there a standard web service through which we can login to an R/3 system?
    3) Once we are logged in can we call other web services?
    Thanks in advance!!
    Regards,
    Saurabh

    Hi Saurabh,
    ad 1) It is possible. In this Excel to SAP R/3 I posted some examples on how to call webservices from within Office 2003 applications.
    The posts are very detailed, I just didn't create a blog since feedback to scripting languages blogs is so low that I didn't find it worth to carefully author a blog.
    ad 2) Web service calls are stateless so you have to authenticate each time you call a service. Either by single sign on mechanisms or by simply hardcoding the credentials.
    hope it helps,
    anton

  • Java service call from webdynpro

    Hi,
    Pls provide me some doc/info on how to call java service from abapwebdynpro platform.
    Thanks in advance.

    Call a web service isn't really a function of WDA.  We have the service call wizard, but it only is a code wizard for generating the code to call a proxy class. It doesn't generate the web service proxy.  There is nothing special needed for WDA to interact with Web Services.  Follow the normal ABAP guides for generating web service proxies and then you can reuse this proxy class in WDA.

Maybe you are looking for

  • Cs5 update only for mac and w64 ?

    Hi i read the bugs fixed but they are only for mac and windows 64bit is there at least some improvement or bug fixed for the 32bit? thanks

  • Audigy 4 Pro, what cable

    Hello, I just purchased your Audigy 4 Pro, I have the Logitech z-5500 5. digital speakers, it has inputs for Optical,Coaxial, as well as 6 channel direct I have an RCA Digital Coaxial cord and a Monster Optical cord, please tell me what cords I need

  • Applying Patches to ISE 1.2.0.899

    I am running ISE 1.2.0.899 Patch level 2.  I want to upgrade to patch level 6.  I understand that the ptaches are supposed to be cumulative and not incremental...but I want to make sure as I am 4 levels behind...Is there anything special I have to do

  • AllinOne.js[dynamic] error while zooming and navigating to next page

    hi.. i'm using crystal report 13 and vs2010 in 32 bit OS reports are working fine but when i click to next page or zoom or find a word then the allinOne.js[dynamic] file opens and shows the below error.. Microsoft JScript runtime error: 'children.len

  • Recognising a third-part driver for 'Ingres' database

    Hi, Great product, SQL Developer. I use it a lot, recommend it to everyone. I am trying to connect to an 'Ingres' database. I have the JDBC driver jar file. I have gone to preferences -> Database -> Third party JDBC driver -> Add Entry. From here, th