Webservice to file
Hi ..
I want detailed step by step guide for "webservice to file" scenario. Kindly help me out in this.
Hi,
Re: Webservice sender . Pls advice urgent
how to check this scenario.
Re: Webservices to file
Creating webservice in XI
Webservice
regards,
pradeep A.
Similar Messages
-
Hi,
I am doing IDOC-XI-Webservice-XI-FIle,
I am using Asyn-synch bridge.
While I am creating Synch_ABS ( IDOC & File ) it is showing that u cannot create interface with IDOC & non IDOC,
How should i proceed the scdenario.
Regards,
Jayasimha JangamHey,
Create a request structure for webservice
Create a response structure for webservice.
Create a Structure for file.
Map the idoc with the webservice request structure.
Map the webservice response structure with the file structure.
Abstract asynchronous interface:- Idoc
Abstract synchronous interface
Request:- request webservice
Response:- response webservice
Abstract asynchronous interface:- file
BPM design
Receive step:- abstract asynchronous interface
Transformation step:- mapping between Idoc and webservice request
Send step:- abstract synchronous interface
Transformation step:- mapping between Webservice response and file
Send step:- abstract asynchronousp:- file
regards,
Milan -
Hi All,
I am doing WebService to File Scenario.
Here I am facing problem when I am sending request .
It is saying
" http error.Could not post file"
I have given the url as
http://<server>.domain:<port>/XISOAPAdapter/MessageServlet?channel=:BS_SOAP2FILE:CC_SOAP2FILE_SENDER
Can anyone suggest me why is this coming.
I searched for SDN and changed the address location in wsdl file to above url.
but still it is coming.
I checked the url in browser .It is saying "Message Servlet is in Status OK ......."
Any kind of tips or suggestion will be appreciated.
Thanks
Rabi
Edited by: RabiPanda on Nov 15, 2011 8:21 AMHi,
I agree with Ganesh. Try to use SOAP UI to call your service URL to see if it's working.
You can find a tool called TCPGateway in the attachment section of the SOAP Adapter FAQ note 856597. Please see tcpgw.zip for more details. Use it on Client side to see the complete HTTP response from PI for more info. If it does not help, try to compare your HTTP request and request generated by SOAP UI if they are created the same way. Especially HTTP header parameters like Content-Type.
Let us know if you find the problem.
Martin -
Hi Experts,
Is it possible to do Webservice -> XI -> File (Synchronous) scenario thro' XI?
Regards
Saramail sync..
u wud b able to do that in a smarter way,..
not quite sure, if mail sync wud b available directly, but a work around wud b,
create soap to mail ( one scenario )..
the message wud b placed in some folder in ur outlook...
create one more scenario on mail as sender ( which wud pick up the mail frm tht location and send to the desired place)
regards,
Vishal -
Webservice to file (receiver determination problem)
Hi ...
I am doing webserive to file scenario in PI7.0 server. I have completed doing the scenario. But there is a problem in receiver side. In SXMB_MONI it is showing the below error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Receiver Identification
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No receiver could be determined</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Could you please help me out in this.hi,
When you have used the WSDL wizard in the Integration Directory and have clicked on "Propose URL" in the second screen, did you ever wonder, why the URL does not point to a sender SOAP adapter channel, it is the URL of the Integration Server instead?
When you want to use the inbound channel of the Integration Server, you have to use following URL for the web service client:
http://<server>:<ABAP-port>/sap/xi/engine?type=entry&version=3.0&Sender.Service=<YourService>&Interface=<YourNamespace>%5E<YourInterface>
The namespace must be written with escaped characters. (%5E stands for "^")
Note: The WSDL wizard creates an address with the escape sequence & instead of &. Some SOAP clients (for example XPLSpy) do not automatically restore the character and you have to do this manually.
By default the SOAP call is treated as a synchronous call. If you want an asynchronous call, you have to add &QualityOfService=ExactlyOnce to the URL.
Additionally your web service client must provide the HTTP header parameter "SOAP action" = http://sap.com/xi/WebService/soap1.1
The Web Service Wizard of the Integration Repository creates a WSDL concerning this URL and this SOAP action automatically. Only for asynchronous calls you need to change the URL inside the WSDL file with an editor and add &QualityOfService=ExactlyOnce.
Advantage
When you send SOAP messages directly to the Integration Server, you reduce the message load on the adapter engine. This can improve the performance.
Restrictions
The SOAP inbound channel of the Integration Server does not support attachments. SOAP messages with content type "multipart" are rejected.
Hint
For testing purpose it is possible to add logon data directly to the URL. The parameters are the same as in the HTTP sender adapter: &sap-user=<username>&sap-password=<password>
/people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
regards
chandra -
HI Everyone,
Can i develop a webservice using .net platform for a file to file scenario using XI. How do i proceed.
I know how to configure file to file scenario using XI, but how shd i replicate the same scenario as webservice.
Any valueable inputs would be appreciated.
Regards,
Varun.Hi,
I hope the below blog's scenario is similar to your requirement.
and here the RFC should be replaced by the Webservice for your requirement.
RFC Scenario using BPM --Starter Kit
These 3 documents should explain it all,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
And also
Testing XI exposed Web-Services
Testing XI exposed Web-Services
Invoke Webservices using SAPXI
Invoke Webservices using SAPXI
Regards,
Suryanarayana -
Regarding Webservice WSDL file
Hello experts,
Please help me by clarifying the below mentioned issue.
I have cretaed a interactive form and placed one button on the form to submit the form data to the webservice.
Now, in the properties of the button(Execute Type) i got the new dataconnection name by choosing the path EDIT-->New Data Connection
and by uploading the WSDL file which was saved on my desktop.
Now, it is working fine and iam able to do the bindings to webservice importing fields.
But the problem is if i remove the WSDL file from the location where it was while creating new data connection in the form.
The interfacing parameters of webservice in the DATA VIEW of the form are going OFF and if i reopen the form it is saying that "the file XXXXXXXXXXXXXXXX not exist".
I tried with giving http URL in creating New data connection, but it is not accepting that URL and saying that "the URL : YYYYYYYYYYYYYYYYYYYYYYYY is invalid"
Iam just following the standard procedure for taking the WSDL file or http UTL.
Am i need to do any thing extra in taking WSDL file or URL?
Regards,
RamNo you are doing it right ....if you enter the url for the wsdl in a browser to you get the wsdl showing up? Are there any dialogs that pop up?
Paul -
Missing webservices jar files in 9.0.2
Hi,
I am trying to deploy webserivces using stateless java class on oc4j version 9.0.2 but i do not have appropriate jar files. Only following jars are installed.
%OC4J_INSTALL%\j2ee\home\WebServicesAssembler.jar
%OC4J_INSTALL%\j2ee\home\WebServicesHtmlXmlWizard.jar
%OC4J_INSTALL%\j2ee\home\wsdl2ejb.jar
%OC4J_INSTALL%\soap\lib\wsdl.jar
The environment is windows 2000.
How can I get appropriate jar files to enable webservices on my installation of oc4j version 9.0.2.0.1
Thanks
SalmanCould you elaborate on what you are missing? On a default OC4J install, downloadable here on OTN, everything is there ... I can point out what you need to locate but am not sure what you see missing or what error messages are leading you to not find classes.
For example, the soap.jar is normally in the <oc4j_home>\soap\lib\ directory. In the <oc4j_home>\lib and <oc4j_home>\jlib there are also other supporting jars.
Thanks.
Mike. -
Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)
Hi all,
I have created a webservice from a funtion module in the backend.
Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
I tested this web service in backend and it is working fine.
Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
IWAB0399E Error in generating Java from WSDL: WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
'{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Please let me know,wat needs to be done for this error to get resolved
Thanks
SanthoshHi,
I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
Here is the error I get.
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
[java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
[java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
[java] at java.lang.Thread.run(Thread.java:571)
Did you find out the cause of this issue?
Thanks & Regards,
Vijay -
How do we create generate webservices.xml file?
Hi all,
Im new to webservices...
im able to generate mapping.xml file using wsgenerate
but i dont know how do we generate webservices.xml.
Im waiting for ur reply.
http://tech.groups.yahoo.com/group/completeJava/
http://tech.groups.yahoo.com/group/completeJava/messages
http://completejava-group.blogspot.com/You use the web interface of xmlsidecar generator made by Johannes Henseler and the push the button there "generate". Copy paste that into a plain text file and then change tex extension from txt to xml. That's how you do a sidecar.xml the easy way.
Afterwards, yo've got to import "multiple files" (or "many files"... my DPS is a Spanish one) from Folio Builder.
If the folder are structured properly, folio builder will start swallowing the data of sidecar and uploading the articles.
Right now, while posting this, my pc is doing that with about one hundred articles. As happy and busy as a beaver in heat
Gustavo (Posting from Madrid) -
Policy Annotation in WebServices Impl file for JAX-WS WebServices
Hi All ,
I am trying to implement JAX-WS WebServices that support https transport .To do so I added the following annotation *@Policy(uri = "policy:Wssp1.2-2007-Https-BasicAuth.xml)* in my Jws Implementation file for the JAX-WS WebServices but I got parsing error.Can anyone please confirm that JAX-WS supports the policy annotation in Impl file.If it is supported can a link/pointer/example could be given to implement https enabled JAX-WS WebService and the required configuration in wsdl file.
Thanks and RegardsFor 11g, install the examples with a custom installation (have to specify that check mark that is not checked by default).
The look here:
<MIDDLEWARE_HOME>\wlserver_10.3\samples\server\examples\src\examples\webservices\wss1.1 -
Transformations using BPM - File -webservice-merge-File
Friends,
I have a requirement something like this.
1. i get the file through the sender file adapter
2. one field out of those sent by the sender will be used to make a webservice call to get dateofbirth and name details.
3. i need to merge these data (from file + webservice response) and send it to the receiver using FTP
Can you please elaborate as to how we can achieve this?
Thanks and Regards,
PavanUse a SOAP lookup;
/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
More about the lookup api - https://help.sap.com/javadocs/NW04S/current/pi/index.html -
Webservices for file transfer using XI
Dear all,
I want to transfer 30gb of different files to my target system.
Here no mapping is involved.
can i use Webservices like megaupload etc,to upload the same using XI.
If so kindly clarify ,how do I achieve the same.
Thanks,
Srinivasarefer this thread
Re: Large file handling issue
Re: Java proxies for handling large files
Does SAP XI (PI 7.0) support streaming to support large file/Idoc
hope it will solve ur querry
Thanks!! -
Hi
One more question,
I have several components, they use webservices to retrieve
data from a database.
How can i config a file in a way that when i need to change
the wsdl place from my webservice, it reflects on all components, i
know there is the services-config.xml file but i don't know if and
how can i use it without amfphp, fluorine or flex dataservices.
Can someone help me on this?
thanksHi ,
My understanding is that . this is used to form the <urlPattern> in the <endpoint> of jaxrpc-ri-runtime.xml if the jaxrpc-ri.xml does not contain an <endpointmapping> for a particular endpoint ..
more precisely..in that case the urlpattern is formed by urlPatternBase+"/"+endpointName.
Thanks
Anirban -
Building the webservice jar file
I have a problem with the underlying errormsg. Could anyone help.
Below the errormsg i have included the content of the jar file, where ant claims
ejb-jar.xml missing. (I've even given full rights to the files before packing in
jar).
Thanx in advance!
Michael Nielsen
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build
[mkdir] Created dir: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build/META-INF
[copy] Copying 3 files to /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build/META-INF
compile_ejb:
jar_ejb:
[jar] Building jar: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/a_statelessSession.jar
ejbc:
[java] java.io.FileNotFoundException: META-INF/ejb-jar.xml not found in jar
file
[java] at weblogic.ejb20.dd.xml.DDUtils.getEntry(DDUtils.java:332)
[java] at weblogic.ejb20.dd.xml.DDUtils.getEjbJarXml(DDUtils.java:236)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadEJBJarDescriptorFromJarFile(DDUtils.java:151)
[java] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:139)
[java] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:130)
[java] at weblogic.ejbc20.runBody(ejbc20.java:338)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] ERROR: java.io.FileNotFoundException: META-INF/ejb-jar.xml not found
in jar file
[java] Java Result: 1
all:
wsgen:
BUILD FAILED
/home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build-ws.xml:12:
Could not create task of type: wsgen. Common solutions are to use taskdef to declare
your task, or, if this is an optional task, to put the optional.jar in the lib directory
of your ant installation (ANT_HOME).
CONTENT OF THE JAR FILE profil.jar
0 Wed Jul 10 15:17:50 CEST 2002 META-INF/
71 Wed Jul 10 15:17:50 CEST 2002 META-INF/MANIFEST.MF
776 Wed Jul 10 13:39:14 CEST 2002 ProfilVO.class
789 Wed Jul 10 13:39:14 CEST 2002 StamdataVOI.class
442 Wed Jul 10 13:39:12 CEST 2002 EmailVOI.class
509 Wed Jul 10 13:39:10 CEST 2002 AbonnementVOI.class
345 Wed Jul 10 13:39:00 CEST 2002 AdresseVOI.class
455 Wed Jul 10 13:39:10 CEST 2002 InteresseVOI.class
413 Wed Jul 10 13:39:14 CEST 2002 ProfilIF.class
447 Wed Jul 10 13:39:12 CEST 2002 TelefonVOI.class
332 Wed Jul 10 13:39:10 CEST 2002 ProfilHome.class
6966 Wed Jul 10 13:39:10 CEST 2002 ProfilBean.class
1804 Wed Jul 10 14:58:00 CEST 2002 build-ejb.xml
477 Wed Jul 10 13:49:24 CEST 2002 META-INF/weblogic-ejb-jar.xml
918 Wed Jul 10 13:47:54 CEST 2002 META-INF/ejb-jar.xmlHi,
Could you give us a few more details. What version of WLS are U using and if you could turn on -verbose on the ant command
and post the results.
Thanks,
Bruce
Michael Nielsen wrote:
I have a problem with the underlying errormsg. Could anyone help.
Below the errormsg i have included the content of the jar file, where ant claims
ejb-jar.xml missing. (I've even given full rights to the files before packing in
jar).
Thanx in advance!
Michael Nielsen
Buildfile: build.xml
webservice:
clean:
init:
[mkdir] Created dir: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build
[mkdir] Created dir: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build/META-INF
[copy] Copying 3 files to /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build/META-INF
compile_ejb:
jar_ejb:
[jar] Building jar: /home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/a_statelessSession.jar
ejbc:
[java] java.io.FileNotFoundException: META-INF/ejb-jar.xml not found in jar
file
[java] at weblogic.ejb20.dd.xml.DDUtils.getEntry(DDUtils.java:332)
[java] at weblogic.ejb20.dd.xml.DDUtils.getEjbJarXml(DDUtils.java:236)
[java] at weblogic.ejb20.dd.xml.DDUtils.loadEJBJarDescriptorFromJarFile(DDUtils.java:151)
[java] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:139)
[java] at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:130)
[java] at weblogic.ejbc20.runBody(ejbc20.java:338)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
[java] at weblogic.ejbc.main(ejbc.java:21)
[java] ERROR: java.io.FileNotFoundException: META-INF/ejb-jar.xml not found
in jar file
[java] Java Result: 1
all:
wsgen:
BUILD FAILED
/home/min1210/mille6/classes/dk/dsb/mille/integration/webservice/profil/build-ws.xml:12:
Could not create task of type: wsgen. Common solutions are to use taskdef to declare
your task, or, if this is an optional task, to put the optional.jar in the lib directory
of your ant installation (ANT_HOME).
CONTENT OF THE JAR FILE profil.jar
0 Wed Jul 10 15:17:50 CEST 2002 META-INF/
71 Wed Jul 10 15:17:50 CEST 2002 META-INF/MANIFEST.MF
776 Wed Jul 10 13:39:14 CEST 2002 ProfilVO.class
789 Wed Jul 10 13:39:14 CEST 2002 StamdataVOI.class
442 Wed Jul 10 13:39:12 CEST 2002 EmailVOI.class
509 Wed Jul 10 13:39:10 CEST 2002 AbonnementVOI.class
345 Wed Jul 10 13:39:00 CEST 2002 AdresseVOI.class
455 Wed Jul 10 13:39:10 CEST 2002 InteresseVOI.class
413 Wed Jul 10 13:39:14 CEST 2002 ProfilIF.class
447 Wed Jul 10 13:39:12 CEST 2002 TelefonVOI.class
332 Wed Jul 10 13:39:10 CEST 2002 ProfilHome.class
6966 Wed Jul 10 13:39:10 CEST 2002 ProfilBean.class
1804 Wed Jul 10 14:58:00 CEST 2002 build-ejb.xml
477 Wed Jul 10 13:49:24 CEST 2002 META-INF/weblogic-ejb-jar.xml
918 Wed Jul 10 13:47:54 CEST 2002 META-INF/ejb-jar.xml
Maybe you are looking for
-
IPhoto doesn't open after migration/upgrade
I see several discussions similar to mine, but not exactly. I just migrated from a MacBookPro 10.6.8 to a Pro 10.8.2. My iPhoto was iPhoto 8, vers 7.1.5. After migration and upgrade my iPhoto is vers 9.4.1. When I try to open iPhoto I get the message
-
I have converted SSRS report from .rdl to .aspx and I can view the report in web browser by enter the .aspx web address. NOW, how can I display this SSRS .aspx report directly in sharepoint page? Any clue?
-
Automatic output determination for SO when changes done
Hi I created one output type ZNSO for sales order and created access sequence and condition record for Order Type in VV11. Now, I am able get that output type ZNSO in messages automatically while creating SO (VA01) and posting an IDoc. But, my requir
-
Icloud calendar in Outlook won't show reminders
I am using the iCloud calenar in Microsoft Outlook on my windows PC. When I set a meeting on my PC and try to set a reminder for the meeting, I get the message below "The reminder will not appear because the item is in a folder that doesn't support
-
Bug: Multiple Files Open ACR Crashes Photoshop...
I have several small files (500 pixels wide) and ACR crashes Photoshop (three times in last hour) when I make small moves with the sliders Exposure/Blacks/mids. I don't seem to have this problem when I don't keep several open files. I have noticed th