Webservice scenario access url
Hi Experts,
Could you please tell me what all ways to access the webservice scenario.
1. Through java port. Example : http://<servername>:<b>50100</b>/XISOAPAdapter/MessageServlet?channel=:Business_service:CC
2. Through abap port.
http://<servername>:<b>8001</b>/sap/xi/engine?type=entry......
3. What all other possible ways???
Regards
Sara
hi sara,
This link also has a forum discussion with same subject
Re: How to access web services?
Hope it helps you!
Regards,
Ramesh P
Similar Messages
-
Security error accessing url (Unable to load WSDL)
Hi folks.
I have a Flex project that use a WCF webservice. In my localhost everything is allright, but I want to upload my flex project to a web host (http://www.dorj.ir) and upload my WCF webservice to a server that has a valid IP...
After going to http://www.dorj.ir, you can see this error
Security error accessing url
Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL (http://ip/service.svc?wsdl)
I put the crossdomain.xml file in the root of my server:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="http://www.dorj.ir" />
<allow-http-request-headers-from domain="http://www.dorj.ir" headers="SOAPAction"/>
</cross-domain-policy>
But I have the same error, yet...!
what should I do?!Have you seen this blog
"Crossdomain.xml" in ABAP Web AS Server cache -
Want to create IDoc to Webservice Scenario
Hi All,
I wan to do Idoc to Web Service Scenario, I have already done Idoc to File Scenario and I have mapped the file of both end in ESR and I am done with Configuration in Integration Directory.
Now If I want to convert it to IDoc to Web Service Scenario, what all steps need to be done. and also want to know that How we can access and Send the files from Web Service to PI 7.1. As such web service is not available need to create the same also.
Can anyone provide How to guide on this scenario.
Regards,
Nitin Patil
Edited by: Nitin Patil on Dec 19, 2008 2:44 PMHey,
as you have familiar with idoc to file, the idoc to webservice scenario is not different.
You need to do the ALE settings on the R\3 side. import the Idoc in XI.
Now for mapping purpose you need the source and the target structure.
In case of webservice you need to import the WSLD (unlike the file in which you wold have created the data type and message type)
In order to import the WSLD, you need to do following things.
Ou require NWDS and the following settings needs to be done
Deployement of Web Services:-
Step 1)
Goto Windows->Open Perspective->J2EE development.
Step 2)
Goto File->new->Ejb module(give project name).
Step 3)
Right Click on the <project name> eg. work_ejb select new->Ejb.
Step 4)
Give an appropriate EJB name and default package (eg. com.xxx.yyy).
Also select stateless Ejb.
Click next then next and then next.
Step 5)
Add method with an appropriate name.
Mention the return type and also assign the required parameters.
Logic is written in the EJB module bean.
Step 6)
Right click on the <project name> and build.
Creates .jar
Step 7)
Goto File->new->Enterprise Application project(to create EAR)
Step 8)
Give project name, assign EJB and build.
Creates EAR.
Step 9)
Right Click on the EJB.
Goto new->Web services.
Specify name of the web service.
Specify EAR in the WEB service.
Step 10)
Build EAR.
Build Ejb.
Step 11)
Goto Windows->Prefrences->SAP j2EE engine.
Give the message server host name.
Step 12)
Right Click on EAR and deploy.
Step 13)
Goto-> http://<host name>:<port no.>/index.
Step 14)
Choose the web service name,test it and download it(default WSDL).
Step 15)
Import port(WSDL) in External definition of SAP PI.
After you import the wsld, you need to follow the same procedure as idoc to file.
regards,
Milan -
Polling in webservice scenario
Hi Experts,
I know Sender File Adapter and JDBC Adapter supports polling. Is it possible to use polling in webservice scenario?
Is it possible to expose a File Adapter and JDBC Adpaters scenarios as a webserice?
Regards
SaraSara,
Can you go through the urls:
sender JDBC by schedule function
JDBC
If it doesnot work for you, then try to see the SXMB_MONI or the JDBC
Try using:
"Disconnect from Database After Processing Each Message" indicator
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
Polling at intervals
Thanks,
Satya Kumar.
Edited by: SATYA KUMAR AKKARABOYANA on Apr 25, 2008 2:25 PM -
Hi Experts,
How to test the webservice scenario with more than 10 users at a time?
Thanks & Regards
SaraHi Sara,
As u metioned to calculate the CPU utilization for the scenario which are invoked at the same time for more users.We can create multiple users with different user id's
and coming to the point of calculating the CPU usage pls consult ur SAP XI BASIS team they would be helping u out and allow n users to access the service parallel
sara pls chk this link
Good One *********************
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/07ddd490-0201-0010-698b-e240c0f58bbd
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e00ac676-7b92-2910-6b81-dad421126406
http://help.sap.com/saphelp_nw04/helpdata/en/1a/7dc33a0f374932e10000000a11402f/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a6c4d505211d189550000e829fbbd/frameset.htm
/people/sap.user72/blog/2006/03/22/how-to-stop-xi-server-utilizing-99-cpu-cycles
if found worth pls do the req
ok
Regards
Sampath -
WSDL Access URL for Metadata Access
Hi
Can someone suggest what is the WSDL Access URL in receiver Communication channel for Direct Point-Point connection scenario.
I can't find the details in SOAMANAGER service.
Thanks,
MurthyHi Murthy,
Have a look at this:
http://help.sap.com/saphelp_nwpi711/helpdata/en/84/eb5c292c184f97806a07272babc9bf/frameset.htm
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b63e8f-a4bb-2a10-e9b1-ba803fd06739?quicklink=index&overridelayout=true
Regards,
Naveen -
"Security error accessing url" - Accessing HTTP service running on another machine
Flex app is hosted as web service and is trying t access data
from HTTP Service
running on different machine. It throws following error
[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Destination:
DefaultHTTP"]
at
mx.rpc::AbstractInvoker/
http://www.adobe.com/2006/flex/mx/internal::faultHandler
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunctio
n()
at flash.events::EventDispatcher/dispatchEvent()
But when I run the HTTP Services (data provider) on same
machine application
works fine.
Already used crossdomain.xmlSorted the cross domain problem by using mx:Webservice rather
than an httpservice. -
Direct Access URLs in Release 2
What is the format for direct access URLs in release 2? I recall seeing somewhere that it had changed.
Thanks.I found the documentation. It is in the help file /help/sblpath.htm.
-
Flex encounters "Security error accessing url.Unable to load WSDL"
i have created a flex application which connects to SAP via web service.
when i try to run my flex application i encounter the following error.
"Security error accessing url.Unable to load WSDL"
i went through various posts relating a BSP application and crossdomain.xml
i have created the crossdomain.xml file in the application and
i tried those options and still not able to figure out the problem.
the security error is because of the absence of the crossdomain.xml file, and in which path should i be saving the file?
Kindly help me solve the problem.
Thanks in advance.Have you seen this blog
"Crossdomain.xml" in ABAP Web AS Server cache -
How to use Direct Access URL in the FORM tag
I want to substitute the pageid url (/servlet/page?_pageid=161&_dad=portal30&_schema=PORTAL30) with the direct access urls (pls/portal30/url/page/my_page) to address the pageid conflict between development server and production server.
It works perfectly fine in the redirection code such as:
self.location.href="/pls/portal30/url/page/next_page". But I got "Page can not be found" error message when I use it in the <FORM> tag:
<FORM ACTION="/pls/portal30/url/page/next_page" METHOD="POST" NAME="my_form">
Does anyone out there know how to use the direct access url inside the <FORM> tag? I am trying not to write a bunch of code just to retrieve and insert the pageid at the run time.
Thanks in advance.
ArthurUse condition. If you are validating a record, just out the desired check in the condition field for that specific item.
Thanks
Nagamohan -
Can I include 2 diff strctures in d same wsdl file in a webservice scenario
Hii all,
We are using webservice to webservice scenario in which sender shld b able to send all the new rquest to the target and receive any updations or modifications from the receiver.
Few fields are different for request and modification structures. so i created 2 diff structures for source and target.
can any one suggest me who can i use single wsdl file for both the msgs( Creation and modifications) mean how to implement multi maping ( 1 to many) using wsdl
Regards
AnuA simple way to include the 2 structures in one WSDL would be to create a combined structure similar to the one below:
<RequestPackage> (1 occurrence)
<Request> (0 to n occurrence)
<Create> (0 to 1 occurrence)
... Create Fields u2026
</Create>
<Modify> (0 to 1 occurrence)
u2026 Modify Fields u2026
</Modify>
</Request>
</RequestPackage>
This is more complex than using 2 wsdls but it would allow you to easily send multiple create and modify records in the same message.
- Craig -
Urgent requirement : security error accessing url and http error: standalone flex
Hi,
I have a requirement to create record from standalone flex. I am using Flex builder 3.
I used Flex-force toolkit to login to salesforce. The swf file generated when used internal to salesforce it works great.
But my requirement is to run it from public sites page / standalone pages. How will I configure it? I am getting error 'security error accessing url', default HTTP
The requirement is on priority, please help me to resolve this issue.
The login code is also furnished below. please help.
Full error details:
(com.salesforce.events::ApexFaultEvent)#0
bubbles = false
cancelable = true
context = (null)
currentTarget = (null)
eventPhase = 2
fault = (mx.rpc::Fault)#1
content = (null)
errorID = 0
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
message = "faultCode:Channel.Security.Error faultString:'Security error accessing url' faultDetail:'Destination: DefaultHTTP'"
name = "Error"
rootCause = (flash.events::SecurityErrorEvent)#2
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#3
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#3
text = "Error #2170: Security sandbox violation: file:///C|/Users/R/DOCUME%7E1/FLEXBU%7E1/TESTLO%7E1/BIN%2DRE%7E1/TESTLO%7E1.SWF cannot send HTTP headers to https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829."
type = "securityError"
headers = (null)
message = (mx.messaging.messages::ErrorMessage)#4
body = (null)
clientId = "DirectHTTPChannel0"
correlationId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
destination = ""
extendedData = (null)
faultCode = "Channel.Security.Error"
faultDetail = "Destination: DefaultHTTP"
faultString = "Security error accessing url"
headers = (Object)#5
DSStatusCode = 0
messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
rootCause = (flash.events::SecurityErrorEvent)#2
timestamp = 0
timeToLive = 0
messageId = "41F6A90D-ECAE-EA2D-7C84-F2E4DABD72F3"
statusCode = 0
target = (null)
token = (mx.rpc::AsyncToken)#6
message = (mx.messaging.messages::HTTPRequestMessage)#7
body = "<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/"><se:Header xmlns:sfns="urn:partner.soap.sforce.com"/><se:Body><login xmlns="urn:partner.soap.sforce.com" xmlns:ns1="sobject.partner.soap.sforce.com"><username>uname</username><password>pwdandsec token</password></login></se:Body></se:Envelope>"
clientId = (null)
contentType = "text/xml; charset=UTF-8"
destination = "DefaultHTTP"
headers = (Object)#8
DSEndpoint = "direct_http_channel"
httpHeaders = (Object)#9
Accept = "text/xml"
SOAPAction = """"
X-Salesforce-No-500-SC = "true"
messageId = "B8A1B02E-CE17-DCBA-4894-F2E4CBEB7C04"
method = "POST"
recordHeaders = false
timestamp = 0
timeToLive = 0
url = "https://login.salesforce.com/services/Soap/u/14.0?1000.1153011256829"
responders = (Array)#10
[0] (::SalesForceResponder)#11
result = (null)
type = "fault"
Login code:
[Bindable] public var sfdc:Connection = new Connection();
private function login():void {
Security.loadPolicyFile("http://salesforce.com/services/crossdomain.xml");
var lr:LoginRequest = new LoginRequest();
lr.username = "uname";
lr.password = "pwdtoken";
sfdc.protocol = "https";
sfdc.serverUrl = "https://login.salesforce.com/services/Soap/u/14.0";
lr.callback = new AsyncResponder(loginSuccess, loginFault);
sfdc.login(lr);This is resolved.
I have copied the crossdomain.xml file to tomcat Root folder
and the issue is resolved. -
Error in SXMB_MONI for HTML to Webservice Scenario
Hi Experts,
I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
"Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
Regards,
NitinHi,
Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
Thanks
Swarup -
Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent
Hi All,
I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
The data will be coming in the url parameters.
Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
So how do I do mapping? Also what UDF code will contain?
Since I'm working on this kind of scenario for the first time, I need every help from you guys.
Thanks & Regards,
Amit PatilHi All,
I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
What kind of UDF will be useful here?
I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
Please guys help me! Give me some inputs.
Thanks,
Amit Patil -
hi,
i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
rfc to webservices scenario
could any one help me immediately.
urs
sumanHI
Refer this
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
Steps
Import the RFC meta data to PI
Import the WSDL to PI
Create MI for RFC -outbound Sync (if response is involved else Async)
Create MI for WSDL service you want type Inbound Sync (If response involved)
Create MM(external definition and RFC), IM for these
Create Sender RFC adapters with SA
Create Receiver SOAP and do necessary pipline steps
Thats it
Thanks
Gaurav
Maybe you are looking for
-
Hello every one, can I rewrite the following query without using the 'ROW_NUMBER() OVER ' part. The query is supposed to pull out the records whose CODE is not NULL and has most recent date for UPDATE_DATE . The reason I wanted to do this is, When I
-
Can someone tell me why disk utilities disk permission repair keeps turning up the same problems? I'm particularly curious about this problem: Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" ha
-
Personnel master record & not found (check entry) Message RU040
Dear Friends, Error message RU040 is observed when confirmation is posted in CO11N for Personnel No. However, with same data confirmation is successfully posted in quality server but in Production server it is giving error. So I am confused why syste
-
Lost Connection to C&C Generals Zero Hour Online using the WRT54G v5 Wireless Network
I have this problem playing Command & Conquer Generals Zero Hour online. I'm using the WRT54G v5 Wireless Network & when I'm in the game lobby, it kicks me off saying, "Lost connection to C&C Generals Zero Hour Online". This happens quite often varii
-
Bug #1 - Deadlock due to improper error handling There is a bug, IMO, in Wait at Rendezvous.vi that can cause deadlock. I'll explain. As you can see in "Wait at Rendezvous.vi", an error that flows out of "Release Waiting Procs.vi" will cause the Enqu