Accessing external WebService
HI,
I want to access an external WebService from an EJB.
Are there some examples for intergrating an external WebService to an EJB?
Can somebody help?
Thanks
Uli
Hi Ulrike,
Let me axplain you in detail.
First thing is create a Java project and in that create a standalone proxy for a web service. Now you will have all the proxy classes for using the web-service and calling its methods. Don't forget that since the web service is deployed in an external server you need to give the wsdl file for this. Now in this project, create a new class and try to call the methods of the web service. If that works fine, then create seperate methods in this class to access the webservice methods. This is so that other projects can call this class to in turn call the web service.
Then refer this project in you EJB project. Then you can call the methods of the class in your EJB that we created in the other project.
I think that makes it much clear
Best regards,
Guru.
Similar Messages
-
Namespace for accessing external Webservices
Hi,
I have an external service and my Livecycle application is trying to invoke that service and get some response by using the webservice component in ADOBE Livecycle ES Workbench. However, after getting repeated error with this an analysis was done and found that the external service expects "q0" namespace alias, whereas ADOBE sends "get" namespace alias. Is there a way to configure livecycle to send the namespace alias as "q0".
Thanks,
NakulHi Kiran,
You can set your proxy authentication in your code itself.
Write following code before calling Webservice.
wdcontext.current<node>element().modelobject()._setUsername("<user>");
wdcontext.current<node>element().modelobject()._setpassword("<password>");
Also, specify proxy hostname and port in logical ports file under your model.
Regards,
Bhavik -
Getting exception while accessing External WebServices from Portal Componen
Hi,
We are using one external Temperature WebService and calling it from the proxy which is called by a Portal Component. My proxy name is TempService and portal component name is TempComponent.While calling the web service from portal component we are getting the exception. When I checked with log file, I got that invokeMethod() is failing and following exception is occuring :
Caused by: com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message. Check the nested Exception.
at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:197)
at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
at com.sap.portal.tutorial.translation.TempService.getTemp(TempService.java:158)
at com.sap.portal.tutorial.TempComponent.TempComponent.doContent(TempComponent.java:18)
Can some one help us to resolve it.
Thanks in advance,
ajayAs far as I know, webservices are working pretty well from SP2 Patch4. On patch3 hf2 I've had problems creating the proxy classes (especially for consuming .net webservices) and also gotten some runtime exception (cannot remember what they were).
Suggest you open an OSS against SAP with your specific problem. -
How to connect external webservice from ABAP
Hi,
Please see code pasted below and tell me what is wrong.
We try to connect external webservice via https. Should I install certificate is SAP for this connection? (if YES, how can I do this?)
Should I configure something else in SAP to connect external webservice via https?
DATA: client type ref to if_http_client,
lv_content type String,
lv_xml_string type string,
lv_length type I,
lv_response type I,
lv_node type ref to IF_IXML_NODE,
lv_xml_doc type ref to cl_xml_document.
****Create the HTTP client
call method cl_http_client=>create_by_url
EXPORTING
url = 'http://services-demo.krd.pl/raina/1.0/KrdAPI.asmx'
IMPORTING
client = client
EXCEPTIONS
others = 1.
CALL METHOD CL_HTTP_CLIENT=>CREATE
EXPORTING
HOST = 'services-demo.krd.pl'
SERVICE = '443'
SCHEME = '2'
PROXY_HOST =
PROXY_SERVICE =
SCHEME = SCHEMETYPE_HTTP
SSL_ID =
SAP_USERNAME =
SAP_CLIENT =
IMPORTING
CLIENT = client.
EXCEPTIONS
ARGUMENT_NOT_FOUND = 1
PLUGIN_NOT_ACTIVE = 2
INTERNAL_ERROR = 3
others = 4
CONCATENATE
'<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
' xmlns:xsd="http://www.w3.org/2001/XMLSchema" '
'xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rain="http://raina.krd.pl">'
'<soapenv:Header/>'
'<soapenv:Body>'
'<rain:Login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'
'<id xsi:type="xsd:string">B03EB34F02</id>'
'<password xsi:type="xsd:string">Akquinet99</password>'
'<appId xsi:type="xsd:string">test</appId>'
'<appInstId xsi:type="xsd:string">test</appInstId>'
'<custom xsi:type="xsd:string">test</custom>'
'</rain:Login>'
'</soapenv:Body>'
'</soapenv:Envelope>'
INTO lv_content.
CALL METHOD client->request->set_header_field
EXPORTING
name = '~request_method'
value = 'POST'.
CALL METHOD client->REQUEST->SET_HEADER_FIELD
EXPORTING
NAME = '~request_uri'
VALUE = '/raina/1.0/KrdAPI.asmx?'.
CALL METHOD client->request->set_header_field
EXPORTING
name = 'Content-Type'
value = 'text/xml; charset=utf-8'.
call method client->request->set_header_field
EXPORTING
name = 'SOAPAction'
value = 'Login'.
lv_length = STRLEN( lv_content ).
call method client->request->set_cdata
EXPORTING
data = lv_content
offset = 0
length = lv_length.
****Make the call
client->send( ).
****Receive the Response Object
call method client->receive
EXCEPTIONS
http_communication_failure = 1
http_invalid_state = 2
http_processing_failed = 3
others = 4.
*****Get the response content
client->response->GET_STATUS( IMPORTING CODE = lv_response ).
lv_xml_string = client->response->get_cdata( ).
Regards,
MichalHI ,
Error in accessing External Web Service
Calling a secured external web service from ABAP
Edited by: A kumar on Aug 21, 2008 11:58 AM -
How I can wire an extern WebService to BPEL?
I have started to work with BPEL PM (2.0.10) bbpelz 0.0.95. Now I would
understand how I can wire an extern WebService (like a PLSQL WebService
created in JDeveloper from a package) to BPEL.
Therefore I look for Examples from BPEL - AmazonFlow or GoogleFlow. Then I set the ProxySettings in the orabpel\bin\obsetenv.bat. I've got the error:
BPEL validation failed.
[bpelc] BPEL source validation failed, the errors are:
[bpelc]
[bpelc] [Error]: CompilationError
[bpelc] [Description]: in line 0 of "bpel.xml", Failed to read wsdl.
[bpelc] Error happened when reading wsdl at "C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\GoogleSearchRef.wsdl", because "WSDLException: faultCode=PARSER_ERROR: Error reading file: No route to host: connect".
[bpelc] Make sure wsdl exists at that URL and is valid.
[bpelc] .
[bpelc] [Potential fix]: .
[bpelc] .
BUILD FAILED: C:\Programme\oracle_sw\orabpel\samples\demos\GoogleFlow\build.xml:29: Validation error
On my Laptop - there is'nt a Proxy, and the versions are: bpel pm 2.1.1
bpelz 0.9.10
I've got the error, when built the AmazonFlow:
[bpelc] [Error] AmazonWebServices.wsdl:9:45: src-resolve.4.2: Error resolvin
g component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespac
e 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespac
e are not referenceable from schema document 'http://soap.amazon.com/schemas3/Am
azonWebServices.wsdl'. If this is the incorrect namespace, perhaps the prefix of
'soapenc:Array' needs to be changed. If this is the correct namespace, then an
appropriate 'import' tag should be added to 'http://soap.amazon.com/schemas3/Ama
zonWebServices.wsdl'.
Who can help me, make run the samples AmazonFlow and GoogleFlow?
Where can I find more informtions about the Problem, how I can wire a WebService created in JDeveloper to BPEL? I can deploy the WebService from JDeveloper on the BPEL-OC4J-Server- but what have I to do or to integrate in order to see my WS in BPEL console and have access to it in bpel designer?
Regards SabineHi,
I followed your suggestion and linked my BPEL service to a WebService through the WSDL that is remotely accessible as in "{color:#0000ff}http://localhost:8988/scratch/kibailey/view_storage/kibailey_SOA/.jdev_user_home/mywork/OptyEventsService/Model/classes/EventsAMService?wsdl{color}" instead of directly accessing the WSDL file. This Webservice is of course deployed at the above mentioned server and location and the server is up.
But when I run my BPEL process, I still get this message "{color:#ff0000}Reference EventsAMService does not exist as wire target{color}". I have cross checked other WSDL dependencies and they are fine.
I am currently using JDev 11g drop 6 through ADE (linux). I have exposed a BC4J component (Application Module) as a WebService.
Please let me know of any resolution.
With regards,
Kishan -
Accessing external web service with non-constant URL
Hello, all
I am looking in the documentation on accessing external web services, but either I am looking in the wrong place, or the documentatoin is lacking info.
My clients have several web services in the local network (regular services, not DB-based), the have the same interface, but different URL's.
Versions of the DB are 11, 12, and 16.
First of all, I do not see in the specs an option for a non-hardcoded URL. The logic says that this has to be possible, but I cannot find it.
Second, I need to see an example of accessing an XML or JSon based service, I cannot find it in the specs either.
Can anyone point me to a document with examples?
Thank you
ArcadyThe following will call a web service with whatever URL you pass in as the argument "myurl". I think that is what you are looking for.
CREATE PROCEDURE cli_test2( myurl LONG VARCHAR )
RESULT( httpheaders long varchar, httpvalues long varchars
URL '!myurl'
To deal with the resulting data in XML, use the OPENXML() function.
eg. To turn an XML list of employees that looks like this:
<root>
<row EmployeeID="102" Surname="Whitney" GivenName="Fran" StartDate="1984-08-28"/>
</root>
into a table of results, you would do this (where xmlgetemplist() is the web service call):
CREATE OR REPLACE PROCEDURE xmlgetemplist() RESULT( httpheader long varchar, httpbody long varchar)
URL 'http://localhost/demo/xmlEmployeeList'
TYPE 'HTTP:GET';
create variable res long varchar;
-- call the web service
select httpbody into res from xmlgetemplist() where httpheader = 'Body'
-- extract the XML elements into a SQL result set
select * from openXML( res, '/root/row' ) WITH ( EmployeeID INT '@EmployeeID',
GivenName CHAR(20) '@GivenName',
Surname CHAR(20) '@Surname',
PhoneNumber CHAR(10) '@Phone');
To deal with the resulting data in JSON, use the sp_parse_json() procedure.
eg.
To turn a JSON formatted list of employees that looks like this:
"EmployeeID": 102,
"Surname": "Whitney",
"GivenName": "Fran",
"StartDate": "1984-08-28",
"TerminationDate": null
into a table of results, you would do this (where jsongetemplist() is the web service call):
CREATE OR REPLACE PROCEDURE jsongetemplist() RESULT( httpheader long varchar, httpbody long varchar)
URL 'http://localhost/demo/jsonEmployeeList'
TYPE 'HTTP:GET';
create variable foo long varchar;
--call the webservice
select httpbody into foo from jsongetemplist() where httpheader = 'Body';
--turn the json result into a structured array of data
-- this step is required because of less structured nature of JSON
call sp_parse_json( 'output_array', foo);
--extract the JSON elements from the output array into a SQL result set
SELECT output_array[[row_num]].EmployeeID as EmployeeID,
output_array[[row_num]].SurName as SurName,
output_array[[row_num]].GivenName as GivenName,
output_array[[row_num]].StartDate as StartDate,
output_array[[row_num]].TerminationDate as EndDate
FROM sa_rowgenerator(1, CARDINALITY(output_array))
Hope this helps,
--Jason -
Where to enter Authentication details provided by external Webservice
Hi all,
Iam consuming an external webservice by creating a proxy and created a logical port for it. But while passing data to extenal webservice, it is asking for authentication(userid and password)as they have provided to access their server. So, where can i enter those authentication details in sap system
Suggest me some solution.
Regards,
SanjaniYou can try to use parameters:
- sap-user=???
- sap-password=??? -
SchedulerTask and external webservice problems
Hi,
I need to build an application that fetches some report from an external webservice (Axis) on the net and stores some data in a portal database.
However, I picked the KM-residing SchedulerTask to solve this issue because you can run it just like cron-jobs and the like.
In my SchedulerTasks code - it has been tested standalone and does a great job fetching data from webservice - the calls fails due to a "connection refused", see stacktrace way below.
My portal is a development machine and is therefore talking to and with everyone, fully open, un-proxied and should not hinder me from accessing such a webservice, I think.
I checked the webservice URL (wsdl-ended) is accessible from within my SchedulerTask by opening a simple java.net.URL on it which worked really nice.
My questions are:
- Did someone experience a similar behaviour and if so how did you solve this?
- Is there any additional configuration needed to make portal/KM speak with external webservices?
- Any other thoughts?
Thanks for your help!
regards,
Christian
The essential lines from the stacktrace:
{0}#1#AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.ConnectException: Connection refused
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)For iSight help, consider http://support.apple.com/kb/HT2090
In addition to testing with iMovie, you can also test video recording with QuickTime Pro if you have it.
Because you have similar problems with Photo Booth when using another camera, you may be rushing Photo Booth. Consider the suggestions offered here:
http://discussions.apple.com/thread.jspa?messageID=7018319�
If apps other than Photo Booth record properly but you do not want to use one of those that work properly, it is possible that a corrupted Photo Booth Preferences file is causing your problem. Quit Photo Booth (and all other applications) and throw away the Photo Booth Preferences file (com.apple.photobooth.plist) from your Home / Library / Preferences folder. A new preferences folder will be generated when you restart Photo Booth to test whether it works now.
If resetting preferences did not help but you still want to use Photo Booth, reinstalling the Photo Booth app might help.
If no app works properly, see your Apple Authorized Service Provider for professional help.
EZ Jim
G5 DP 1.8GHz w/Mac OS X (10.5.7) PowerBook 1.67GHz (10.4.11) iBookSE 366MHz (10.3.9) External iSight -
Hi,
We have some webservices that will send data to some bapi or database. Lets say database using jdbc adapter. so its SOAP to JDBC syn scenario.
can we use external webservice or we have to generate web services thru ID and use soap address in the our web application..
if we can use external webservices then what is the procedure.
Pls help.
Thanks
Laxmi BhushanDear Laxmi,
if you want to publish a service and send a request to another system, the service should be published on XI.
Web Service Client (external program) -> Web Service Provider / SOAP-Sender-Adapter (on XI) -> Mapping for JDBC -> Call JDBC Receiver Adapter
If you want to access an external service and store the result in a database, you have to use BPM. You can e. g. map an asynchronous request (RFC, IDoc, SOAP, HTTP...) into a synchronous SOAP-Request, and map the corresponding SOAP-Response, to an SQL-Statement for JDBC-Receiver adapter.
Please give us further details on your requirements to find a solution.
Best regards,
David -
Error at creating Client Proxy of external webservice (WSDL)
Hi Experts,
I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
[http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
I try to create it with this URL and then I get the error message
Not implemented
Exception of class CX_SIDL_INTERNAL_ERROR
I found two other threads with a similar problem:
cunsuming external webservice in ABAP
Problem while consuming external webservice
But there is no solution that worked for me. In the first thread it is mentioned, that the code between
<wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
report z_currency_converter.
data: convert type ref to zzzco_currency_convertor_soap.
try.
create object convert
exporting
logical_port_name = 'Z_LP'
catch cx_ai_system_fault .
endtry.
data: output type zzzconversion_rate_soap_out .
data: input type zzzconversion_rate_soap_in .
input-from_currency = 'EUR'.
input-to_currency = 'USD'.
try.
call method convert->conversion_rate
exporting
input = input
importing
output = output
catch cx_ai_system_fault .
catch cx_ai_application_fault .
endtry.
write output-conversion_rate_result.
The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
SAP says the following:
The problem is that this WSDL uses two bindings different from SOAP
binding which is not in conformance with Basic Profile 1.1 -
http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
I hope you have an idea.
Thanks a lot in advance!
Best Regards,
IngmarI think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
Regards
Snehasish -
Error while using External Webservice in CAF
Hi All,
I am trying to use an external webservice in my CAF project. The webservice is working fine when tested using WebService Navigator but when I m testing in CAF Administrator UI it is giving the following error.
ERROR. Problem in server response: Bad Request.:
Please provide the appropriate solution its very urgent.Hi Vijay,
Did you check if you are using full correct UURL. That happens with incorrect URL.
Thanks,
Ravi -
403 Forbidden Error while trying to access External SharePoint site in SP 2010
I am trying to access external Claims based SP site and trying to download the file from a doc library.
I am receiving the 403 Forbidden error when executing the code.
I am using SP 2010 and Client Object Model.
PFB the code I am running.
using (SPCOM.ClientContext clientContext = ClaimClientContext.GetAuthenticatedContext(siteURL))
if (clientContext != null)
clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
clientContext.Load(clientContext.Web);
clientContext.ExecuteQuery();
SPCOM.Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
using (SPCOM.FileInformation fInfo = SPCOM.File.OpenBinaryDirect(clientContext, item["FileRef"].ToString()))
string fileName = (string)item["FileRef"];
fileName = string.Concat(SaveLocation, fileName.Substring(fileName.LastIndexOf("/") + 1));
//now save it
using (System.IO.FileStream outPutFile = System.IO.File.OpenWrite(fileName))
fInfo.Stream.CopyTo(outPutFile);
fInfo.Stream.Close();
I suspect the OpenBinaryDirect method ,
I am also using Cookie based authentication I guess PFB the code for that.
public static ClientContext GetAuthenticatedContext(string targetSiteUrl)
return (GetAuthenticatedContext(targetSiteUrl, 0, 0));
/// <summary>
/// This method will return a ClientContext object with the authentication cookie set.
/// The ClientContext should be disposed of as any other IDisposable
/// </summary>
/// <param name="targetSiteUrl"></param>
/// <returns></returns>
public static ClientContext GetAuthenticatedContext(string targetSiteUrl, int popUpWidth, int popUpHeight)
CookieCollection cookies = null;
cookies = ClaimClientContext.GetAuthenticatedCookies(targetSiteUrl, popUpWidth, popUpHeight);
if (cookies == null) return null;
ClientContext context = new ClientContext(targetSiteUrl);
try
context.ExecutingWebRequest += delegate(object sender, WebRequestEventArgs e)
e.WebRequestExecutor.WebRequest.CookieContainer = new CookieContainer();
foreach (Cookie cookie in cookies)
e.WebRequestExecutor.WebRequest.CookieContainer.Add(cookie);
catch
if (context != null) context.Dispose();
throw;
return context;
If anyone has an idea of why is this happening, pls help me.
Thanks,
K.V.N.PAVANHi,
Please try to add following line of code before you initialize cookie container.
e.WebRequestExecutor.WebRequest.UserAgent = “Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)”;
http://razirais.wordpress.com/2011/05/19/how-to-fix-sharepoint-online-403-forbidden-error-while-downloading-files-using-client-object-model/
Or change the following line of code
clientContext.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
to
clientContext.Credentials=new NetworkCredential("Username", "Passworkd", "Domain");
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support -
How To : Call External Webservice from BPEL and pass SOAP Message to the WS
Hello All-
Greetings to all BPEL gurus. I am currently facing difficulties in calling an External Webservice from my BPEL Process and passing SOAP Message to it. The details are below:
<strong>1. The BPEL process, using database polling feature of DB Adapter, will get the records from the database.</strong>
<strong>2. Transform the message</strong>
<strong>3. Call the External Webservice and pass the transformed message as the input to it. However the Webservice expects the BPEL process to send SOAP headers in the input message.</strong>
I am struggling on how to put the transformed message within a SOAP envelope in the BPEL process.
If anyone had similar requirements and have successfully been able to send SOAP messages from BPEL process to an external webservice, kindly let me know.
Also if there is some kind of documentation or any link in the forum that I can refer, please let me know that as well.
I am new to Webservice integration using BPEL and would really appreciate your help.
Thanks In Advance
Regards,
DibyaHi Dharmendra,
I am trying to send a SOAP message from my BPEL process to a web service. I have a complete SOAP message in a complex variable defined in the wsdl for the partnerlink (web service). My problem is that when I invoke the partnerlink it fails even though the content shown in the BPEL console looks valid.
I have set up obtunnel to see what I am actually sending out from BPEL. You mention that BPEL creates the SOAP envelope automatically.
I think that my problem is a result of this automatic SOAP envelope that BPEL is creating. Do you know if there is a way to turn it off?
This is what I see in the TCP monitor, please note the double SOAP env:Body:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <env:Body> <RCMR_IN000002NR01 xmlns="urn:hl7-org:v3" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<env:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing">http://testhost/CCS/Service_Endpoint</wsa:To>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://localhost/CCS/Service_Endpoint</wsa:Address>
<wsa:Metadata>
<device xmlns:hl7="urn:hl7-org:v3">
</device>
</wsa:Metadata>
</env:Header>
<env:Body>
<RCMR_IN000002NR01>
</RCMR_IN000002NR01>
</env:Body>
</RCMR_IN000002NR01>
</env:Body>
</env:Envelope>
Any help is appreciated.
Regards,
Aagaard
Edited by: Aagaard on Oct 30, 2008 8:59 PM
Should have mentioned. I am using BPEL 10.1.3.4
Edited by: Aagaard on Oct 31, 2008 8:43 AM
I have opened a new thread for this question so as to not confuse the issue more than necessary.
How many SOAP envelopes do you really need? -
Error after import external webservice(RFC) wsdl url to Process Composer
Hi all,
I try to use RFC webservice in my BPM as below:
1. Expose RFC as webservice using CAF (import external service RFC and then create application service use this external service)
2. Define Destination in NWA.
3. Create a Process Composer project, and import the external webservice(RFC) wsdl file as service interface in the project.
After importing, i get error : the port type specified for the ...binding is undefined. Check port type name and ensure it is defined.
If i import another external service, not RFC (such as business object), there is no error.
My system is NWCE 7.11
Thanks in advance,
Sinh.
Edited by: Sinh Nguyen Van on Jul 20, 2009 8:29 AMHi Bharath,
Below is content of wsdl url and error message, thanks
Error message:
The 'zfm_rfc_caf_as' port type specified for the 'zfm_rfc_caf_asBinding' binding is undefined. Check the 'zfm_rfc_caf_as' port type name and ensure it is defined.
wsdl url :
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" xmlns:b0="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as">
<import namespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl?wsdl=binding&mode=ws_policy" />
- <service name="zfm_rfc_caf_as">
- <port name="zfm_rfc_caf_asBindingPort" binding="b0:zfm_rfc_caf_asBinding">
<address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl" />
</port>
</service>
</definitions>
Edited by: Sinh Nguyen Van on Jul 22, 2009 4:18 AM -
Adding authentication in header while consuming external webservice
Hi,
I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
I want my header in request to look like this:
<soapenv:Header>
<urn:Authentication>
<urn:username>user1</urn:username>
<urn:password>pass1</urn:password>
</urn:Authentication>
</soapenv:Header>
if anyone has any idea then please share.
Regardsplease look at this and see whether that helps you..
Re: Creating a partnerlink from a secure webservice
Maybe you are looking for
-
Get error 998 when starting Multisim 10 on Windows Vista Home Basic PC (Ultiboard too)
Hi, I´m getting 2 errors when I start Multisim and Ultiboard, which are: Error loading library C:\Program Files\National Instruments\Circuit Design Suite 10.0\Autoroute.dll, ('998') The data area passed to a system call is too small. AND Error loadin
-
Ucm connection configuration on webcenter portal app
Hi All, We create a webcenter portal application and connect with Webcenter content using Application Resources --> connections --> content repository connection. The parameters that we provided for the connection are: Socket type: socket, Hostname,
-
Macbook Pro 13" + Dell US2410
Hello fellas, bought a dell 2410 2 weeks ago and find that when i edit stuffs on lightroom 3, it kind of lags as compared to when i am running LR3 on my macbook itself without using the external monitor. would like to ask if the graphic card on board
-
Getting weird display on add to bookmark
I'm trying to add a bookmark in safari 6.0 Lion on an early macbook pro 2011. Getting garbled graphics see picture
-
HOW to add Dynamic Columns in ADF Faces CORE Table
In ADF im going to display the dynamic column in Coretable, Header are displaying very fine. but im unable to display rows sucessfuly,how to resolve. Second thing is that JSF page isn't getting the value from dataList, whats wrong in JSF code. // JSF