JAVA Maping.... Scenario's
Hi Frnds
anyone share the Document about JAVA Mapping, and some useful links...
and Blogs..
Regards,
Raja
Hi,
Java Mapping
Java mapping can be used when you have complex mapping structures.
We can do most of the times for our requirements through Graphical mapping.
When the structures are very complex to build you can go for SAX (Simple API for XML) or DOM (Document Object Model) parsers.
Message mapping internally generates DOM parser.
Java Mapping in XI
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rnd_rankvalue#
SAP Network Blog: Implementing a Java Mapping in SAP PI
/people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi
Java Mapping (SAP Library - Partner Connectivity Kit)
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
SAP Network Blog: XI Java Mapping Helper (DOM)
/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
SAP Network Blog: Testing and Debugging Java Mapping
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Binary Conversion in XI - Java Mapping - Code Gallery - Wiki
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava%2bmapping
SAP Network Blog: "JAVA MAPPING", an alternate way of reading a CSV file
/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file
Difference in using java,xslt,message mapping
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping
/people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
/people/venkataramanan.parameswaran/blog/2006/12/12/java-mapping-to-handle-flat-files-in-sap-xi
Thanks
Swarup
Similar Messages
-
Hello,
Pls let me know about Java Maping and ABAP Mapping
Also pls provide good simple scenario blogs for Java Maping and ABAP Mapping.
RegardsHi Ranchit,
Check these links for Mappings
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://websmp102.sap-ag.de/~sapdownload/011000358700003604872004E/MappingXI30.pdf (Need Service Makrket place ID)
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7
JAVA Mapping BLOGS
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
ABAP Mapping Blogs
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping
Sachin
Message was edited by:
Sachin Dhingra -
Installing Java based Scenarios will effect old 3.0B reports in NW2004s ?
Hi,
Can anybody tell me whether Installing Java based Scenarios will effect old reports running in 3.0B.? or we will be just able to use the new features available after installing Java based scenarios and old queries/ web reports will remain same?
Here I should mention that we are upgrading our BW environment from 3.0B to NW2004s.
Please help me.
regards,
JeetHi Prakash,
Thank you very much for your fast reply.I read the blog and it is a lot of very useful information. I have a couple of questions though:
1. <u>Option 3 - Publishing Strategy within SAP NetWeaver 2004s BI</u> - is definately what we need:
"End User Accesses
�� Users will be assigned to Groups which have Roles in them
�� Therefore, all users will see a tab in the portal navigation for their reports
�� KM Navigation iView will be used to link KM Folder with Portal Role per Application Area
�� Users will only have 1 access point: Portal Roles"
So If I understood you correctly 1)I need to create Roles in Portal.
2)Assign users to the Roles.
3)Users will have only those roles assigned to them(for ex: sales manager role, AE role and so on)
4)Publish my web quires to PCD and then role.
So this part is clear.
What I still don't understand is how to make the tree menu display in the Role that I will create? And with in the Role to have different folders (in a tree display view) that would have names (links) to differnet web reports (iviews that i will store and publish)? Is there an example with step by step for this?
Is there an example of how to implement the Option 3?
2. <b>Bookmarks</b> - as I understood by "I recommend using the shared BEx Portfolio KM Bookmarks instead of traditional bookmarks" you reffering to 'Save As' button on the run time of the report that lets you save to favorites, Myportfolio... I have no problem of using it but is there a way:
1) bypass the selection screen when executing the saved KMbookmark? I tried saving it under the my favorites and when executing it brings me to the selection screen first (I could use variants for selection screen, so what is the use??!!)
2)how can i send this saved bookmark by e-mail to a collegue? Is there a way? If not may be there are a new concept that we don't understand?
Thank you very much again. -
1:n Transformation using JAVA Mapping Scenario
Hi Frnds,
I done a scenario using 1:n Transformation Scenario using XSLT,Graphical Mapping.
But i want to develop scenario Using JAVA Mapping.
Can anybody done the same scenario using JAVA Mapping share the links..
Regards,
Raj SekharYou can use SAX parser for this
firstly create a StringBuffer sb object which will store our target output
when startDocument() gets called append the xml declaration in this method
sb.append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
sb.append("<Root>");
next for the Test element you have your startElement() method called which will contain the name of your source tag i.e Test
for this , you will need to set a variable boolean isTest to true which was initialised as a false value.
in the characters method you will get the value present in this tag.
test the variable isTest for true value.
if it is true then append the following
sb.append("<Test1>"name"</Test1>"); //name is the buffer passed in characters method
sb.append("<Test2>"name"</Test2>");
sb.append("<Test3>"name"</Test3>");
at the end your endelement() will be called
here reset the value of isTest to false.
in your endDocument()
sb.append("</Root>");
lastly convert to byte[] and then to outputStream format
Edited by: Progirl Progirl on Jul 4, 2008 2:00 PM -
Hi Frnds,
i am working on JAVA Mapping, recently i started but when i started working i have some issues...
1)With out main method how to execute JAVA Mapping, i got one link i am trying to implement the scenario,i am terying to comile java code but its not compiling , bcz no main method, how executeJAVA Mapping.
2) Whats the use of Stream Transformation interface.
3) whats the use of Mapping Trace,Abstarct Trace.
Please solve my above doubts...
Regards,
Raja Sekhar
pleaseHi,
The runtime environment for Java mappings has an mapping API. To use Java mapping, you must define a Java class that implements the Java interface com.sap.aii.mapping.api.StreamTransformation. This interface has two methods:
public void execute(java.io.InputStream in, java.io.OutputStream out)
At runtime, the Integration Engine calls this method to execute a mapping. This method contains an input stream for the source document and an output stream for the target document as parameters. These streams are usually XML documents. You can import the substructures to be converted from the input stream and output the converted target document in the output stream.
● public void setParameter(java.util.Map param)
The Integration Engine transfers parameters to the mapping program with this method. It evaluates these parameters at runtime in the method execute(). This enables you to control the process flow of the mapping.
The transferred object that implements the Java interface java.util.Map contains seven key/value pairs as parameters. These correspond to corresponding fields in the message header. Apart from the MAPPING_TRACE constant, the value objects are of type java.lang.String. The key objects are defined in the class com.sap.aii.mapping.api.StreamTransformationConstants
for more info
http://help.sap.com/saphelp_nw04/helpdata/en/a4/64b93d0d4e6b3be10000000a114084/frameset.htm -
Problem in JAVA proxy scenario: cannot locate QSI root directory
Hi Frnds,
i am using RFC to JavaProxy, actually through java proxy we are connecting to the bank for payment.
And the bank has provided one payment client application which needs to be installed on the server for interacting with the bank,
and we had installed the payment client on to the server. But we are getting following type of error in the response,
SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method egateJavaMsgIntInOutJava of proxy bean $Proxy258: cannot locate QSI root directory: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method egateJavaMsgIntInOutJava of proxy bean $Proxy258: cannot locate QSI root directory</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
What could be the possible solution in order to solve this error.
Thanks,
Raj
Edited by: RajSrivastava on Jul 8, 2009 11:03 AMHi Madhav,
Please check the following links regarding to u rproblem.
Java Proxy Server: cannot locate proxy bean...
Cannot locate proxy bean IN RWB
https://forums.sdn.sap.com/click.jspa?searchID=11113489&messageID=3039952
warm regards
mahesh. -
Hi
Can i use in the java mapping proxies classes generated for interfaces?
Or i can get in trouble because of library reference.
FlorinProxies are essentially the APIs, or the programming lines of code, that are generated for the target application language like ABAP/JAVA/.Net.
In some of the real time applications, each time it's not necessary to have particular Business Systems for send/ receive messages with SAP XI.
Sap XI provides diff. options to generate interfaces with ABAP / Java Applications such as as Proxies.
<b>ABAP Proxy :</b>
1. With ABAP proxy generation function it will be possible to generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository.
2. ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40.
If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
/people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
Re: JDBC Sender select/update problem
<b>Java Proxy:</b>
1. JAVA proxy is used for J2EE based systems communicating with XI for sending or processing msgs in those J2EE based systems
2.It allows java applications to interact directly to Integration server with avoiding the configurations for the special adapters
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab - How To Work with XI 3.0 Java Proxies
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9- Java Proxies and SAP XI - The Inside Story, Part 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d - Java Proxies and SAP XI - The Inside Story, Part 2
Please let me know if you need any more details on this.
Reward Points if found useful ** -
MultiMapping Function Java Maping--Splitandmerger
Hi Frnds,
I am trying to develop multi mapping functionality using JAVA Mapping, I wrote the code But its not working ..
I need to add the xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge to my output manually in DOM parcer code?? if i add that one its work fine??
If anybody worked on same thing plese help me out..its very urgent.
Regards,
Raja SekharHello Rajashekhar,
As u r using DOM parser u would have applied the document method.
chek this
An implementation of DocumentBuilder is NOT guaranteed to behave as per the specification if it is used concurrently by two or more threads. It is recommended to have one instance of the DocumentBuilder per thread or it is upto the application to make sure about the use of DocumentBuilder from more than one thread
probably thats the reason when u add the "xml:." it is able to execute.
Hope this helps u out -
Passing Data from Adobe to WD Java Offline Scenario
Hi All,
I have a web dynpro for java component that has 2 views
View 1. Upload View
View 2. Interactive Adobe View
I have an offline adobe form with two parameter First and Last Names. When I fill the form and then upload it (using view 1).When I click on a button display form it branches to View 2 above and displays the form with the filled in values. Now in the second view I have a Submit to SAP Button embedded within the Adobe form. When I click on the button Submit it should display by passing the values back to the web dynpro component. Here I see that the values passed back are null.
I am also invoking ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", ""); within the javascript of the Submit To SAP button. But, still it doesnt seem to pass the values back to WD Java.
Kindly help me resolve this issue? I sincerely appreciate any help extended.
Many thanks,
Best regards,
DivyaI had to have scripting done on the form to invoke this back to webdynpro for java.
-
Java Proxy Runtime: failure to locate proxy bean on inbound call
Hello gurus of the SDN,
I have been trying to get an inbound Java Proxy scenario to work in XI 3.0 but have not been able to get the JPR to recognize my generated and deployed java code. My scenario is set up to call the java proxies generated from a message interface based on the MATMAS Idoc. I successfully deployed the generated java proxies on the same host box as is running the XI instance. The objects are named as follows
Message interface on XI = Inbound_MATMAS04
Generated proxy bean = Inbound_MATMAS04_PortTypeBean
Implementing class = InboundMATMAS04_PortTypeImpl
Implementing method = inboundMATMAS04
I used the JPR transport servlet to register the interface and implementing class but am not sure if I did this correctly. I used the following entry in my web browser:
http://nadcp786:50000/ProxyServer/register?
ns=urn:xiTrainingLabs:groupXX:SAP&
interface=InboundMATMAS04&
bean=InboundMATMAS04_PortTypeImpl&
method=inboundMATMAS04
I also tried using the localejb/ prefix for the bean name in the above step since the code is co-located. When I trigger the scenario, the Idoc info is passed into XI and the Java Proxy Runtime is called, but I get the following error response back in the SOAP header:
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="PARSING">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Cannot locate proxy bean InboundMATMAS04_PortTypeImpl</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Finally, appended at the end of this post is the audit log of the messaging system showing that the JPR is called but without being able to locate the bean. I think I am missing a configuration step somewhere, but cant figure out what it is!! Can anyone help me?
Many thanks in advance.
Regards,
Nick Simon
Time Stamp Status Description
2004-10-25 19:47:32 Success The message was successfully received by the messaging system. Profile: XI URL: http://nadcp786.bcsdc.lexington.ibm.com:50000/MessagingSystem/receive/JPR/XI
2004-10-25 19:47:32 Success Using connection JPR. Trying to put the message into the receive queue.
2004-10-25 19:47:32 Success The message was successfully retrieved from the receive queue.
2004-10-25 19:47:32 Success The message status set to DLNG.
2004-10-25 19:47:32 Success Java proxy runtime (JPR) accepted the message
2004-10-25 19:47:34 Error JPR could not process the message. Reason: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl
2004-10-25 19:47:34 Error Delivery of the message to the application using connection JPR failed, due to: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl.
2004-10-25 19:47:34 Error The message status set to FAIL.
2004-10-25 19:47:34 Error Asynchronous error detected: Cannot locate proxy bean localejbs/InboundMATMAS04_PortTypeImpl. Trying to report it.
2004-10-25 19:47:34 Error Asynchronous error reported.
Message was edited by: Nicholas SimonHi
How do you determine the JNDI naming of the a EJB?
I have following entry in JNDI directory in the root
Object Name FlightQueryIn
Class Name javax.naming.Reference
Context Name
Object Value Reference Class Name:
Type: clientAppName
Content: sap.com/JavaProxyEAR
Type: interfaceType
Content: remote
Type: home
Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundHome4
Type: ejb-link
Content: FlightSeatAvailabilityQueryIn_PortTypeBean
Type: jndi-name
Content: FlightQueryIn
Type: remote
Content: com.sap.aii.proxy.xiruntime.core.AbstractProxyInboundRemote4
I tried to register the bean with JPR using:
http://ctsapxid01:50100/ProxyServer/register?ns=http://sap.com/xi/XI/Demo/Airline&interface=FlightSeatAvailabilityQuery_In&bean=FlightQueryIn&method=flightSeatAvailabilityQueryIn
I followed the following blog
http://wiki.sdn.sap.com/wiki/display/Java/JavaProxyChangesinPI7.1fromPI7.0
Thanks,
Chris -
Sun Java System Application Server could not start
Hi
I have installed JDK1.5 Update1 + netbeans 5.5 with the JBOSS bundle and added the Sun Java System Application Server 9.1.02.
I am creating the EJB-JMS application described at
http://www.netbeans.org/kb/55/ejb30.html
All the steps are followed properly, but while running the project i get the error
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
D:\MyNBProjects\EJBAPP1\nbproject\build-impl.xml:183: Deployment error:
The Sun Java System Application Server could not start.
More information about the cause is in the Server log file.
Possible reasons include:
- IDE timeout: refresh the server node to see if it's running now.
- Port conflicts. (use netstat -a to detect possible port numbers already used by the operating system.)
- Incorrect server configuration (domain.xml to be corrected manually)
- Corrupted Deployed Applications preventing the server to start.(This can be seen in the server.log file. In this case, domain.xml needs to be modified).
- Invalid installation location.
See the server log for details.
BUILD FAILED (total time: 5 minutes 3 seconds)Hi Roman,
Sorry for the long wait....
In the mean time I have downloaded NB6.1 (final Release) and JDK 1.6.0_04,added the sjsas-9_1_02 to NB6.1, all are in D:\javak (where previous setup of NB5.5 and jdk1.5 and SJSAS-9_1_02 is AS IS in D:\java)
Current Scenario:
Product Version: NetBeans IDE 6.1 (Build 200805300101)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: D:\Documents and Settings\kedar\.netbeans\6.1
Now, when i try to Run the SAME code i get the following error:
Created dir: D:\ProjectsNB\EJBAPP1\dist
Building jar: D:\ProjectsNB\EJBAPP1\dist\EJBAPP1.ear
post-dist:
dist:
pre-run-deploy:
Initial deploying EJBAPP1 to D:\ProjectsNB\EJBAPP1\dist\gfdeploy
Error during incremental deploy: java.lang.NullPointerException
Start registering the project's server resources
Finished registering server resources
java.lang.NullPointerException
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.getFileArchive(DirectoryDeploymentFacility.java:264)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:168)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Deployment error:
cannot find FileArchive class...
See the server log for details.
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:166)
at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:104)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:277)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:460)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:194)
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeployment.initialDeploy(DirectoryDeployment.java:413)
at org.netbeans.modules.j2ee.sun.ide.j2ee.incrdeploy.DirectoryDeploymentFacade.initialDeploy(DirectoryDeploymentFacade.java:218)
at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:519)
at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:151)
... 16 more
Caused by: java.lang.IllegalStateException: cannot find FileArchive class...
at org.netbeans.modules.j2ee.sun.bridge.DirectoryDeploymentFacility.initialDeploy(DirectoryDeploymentFacility.java:170)
... 20 more
BUILD FAILED (total time: 9 seconds)
Thanks,
Kedar. -
Learning Java proxies - landscape question
Hi guys,
I could use a little help to learn Java Proxies, I'm just starting to get familiar with Java, I'm coming from the ABAP side.
First and foremost what do I need from the system point view?
We have an XI box and using file/FTP/IDoc adapters and also ABAP Proxies, I wrote some Java (mapping)functions, I am familiar with these.
But for a Java proxy, I would need a separate Java server(?) to run the application on, is this correct?
Can I use my own PC for this? (for learning purposes), I have NWDS installed on my PC.
What are the steps to write a small simple Java Proxy.
I would very much appreciate some help, guys, how do I start?
Thanks a lot,
ViktorHi Viktor,
You can work from your own machine. Becuase in Java Proxy scenarios, you are deploying EAR files in the XI server, and thru XI , you are executing the method written in the Java Application.
Just check these links-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
Demo ~
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken]
Hope this helps,
Regards,
Moorthy -
Java Mapping Error - Unable to instantiate the Java class
Hi,
I am trying out a Java Mapping scenario.
The code worked fine in eclipse.i could get the desired output.
but when i tried it out in XI ....i got the following error in moni:
*Unable to instantiate the Java class*
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">CANNOT_INSTANCIATE_CLASS</SAP:Code>
<SAP:P1>JavaMapping</SAP:P1>
<SAP:P2>http://www.sdsdsd.com/XI/Sales/T~</SAP:P2>
<SAP:P3>3bd13b30-6300-11dc-b9f1-f0050aa5c91a</SAP:P3>
<SAP:P4>-1</SAP:P4>
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to instantiate the Java class JavaMapping (http://www.sdsdsd.com/XI/Sales/T~, 3bd13b30-6300-11dc-b9f1-f0050aa5c91a, -1)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please help me out with this error.Hi Anu,
Currently I am also facing the same Unable to instantiate the Java class same java class is working fine in eclipse .
Could you please confirm Is this because of version mismatch that in Eclipse JAVA and SAP JAVA ?
Thanks in Advance.
Best,
Srinivas -
Step by Step XI practical scenarios
Hi!
I have first practical experience working with SAP XI 7.0 and searching for practical Step by Step scenarios:
- IDOC to IDOC scenarios
- ABAP or Java Proxy scenarios
- scenarios with SOAP adapter
Has some one seen in SDN-blog or in other sources such documentation or can share his/her own examples?
Any helpful information will be very appreciated.
Thank you very much!
regards
HolgerHi Thomson,
Just Search in SDN you will get almost all scenarios.
Following are the links to weblogs which will help to develop the basic scenarios.
Introduction to IDoc-XI-File scenario and complete walk through for starters. - IDoc to File
ABAP Proxies in XI(Client Proxy) - ABAP Proxy to File
FILE to JDBC Adapter using SAP XI 3.0 - File to JDBC
File to R/3 via ABAP Proxy - File to ABAP Proxy
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1) - File to File Part 1
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2) - File to File Part 2
Convert any flat file to any Idoc-Java Mapping - Any flat file to any Idoc
RFC Scenario using BPM --Starter Kit - File to RFC
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
Dynamic File Name using XI 3.0 SP12 Part - I - Dynamic File Name Part 1
Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - Dynamic File Name Part 2
The specified item was not found. - Dynamic Mail Address
Understanding message flow in XI - Message Flow in XI
Walkthrough with BPM - Walk through BPM
Schedule Your BPM - Schedule BPM
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
The specified item was not found. - Maintain RFC destination centrally
Triggering e-Mails to Shared folders of SAP IS-U - Triggering Email from folder
Outbound Idoc's - Work around using "Party"? - Handling different partners for IDoc
/people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
The specified item was not found. - Testing of integration process
The specified item was not found. - Authorization in XI
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
The specified item was not found. - Alert Configuration
The specified item was not found. - Trouble shoot alert config
Executing Unix shell script using Operating System Command in XI - Call UNIX Shell Script
Overview of Transition from Dev to QA in XI - Transport in XI
Using ABAP XSLT Extensions for XI Mapping - Using ABAP XSLT Extensions for XI Mapping
/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
IDOCs (Multiple Types) Collection in BPM - Collection of IDoc to Single File
XI : Controlling access to Sensitive Interfaces - Controlling access to Sensitive Interfaces
The specified item was not found. - The same filename from a sender to a receiver file adapter - SP14
Payload Based Message Search in XI30 using Trex Engine - Payload Based Message Search in XI30 using Trex Engine XI : Configuring CCMS Monitoring for XI- Part I - XI : Configuring CCMS Monitoring for XI- Part I
The specified item was not found. - XI: HTML e-mails from the receiver mail adapter
XI : FAQ's Provided by SAP (Updated) - XI : FAQ's Provided by SAP
Good Luck.
Regards,
Ramesh. -
How to consume SOAP webservice in to my java/j2ee application
Hi,
I am a java developer. how to i consume SAP soap webservice in to my java application.
scenario : 1
We are migrating 2 specific java modules in to SAP System.But master details are stored in to my java application database.Those details are require
to SAP application. So that they provide me WSDL file, How to i consume soap webservice in to my java application and also, How to i provide master data details to SAP system through SOAP webservice.
Any body provide me a detail instruction how to integrate SAP Application in to my java application using SOAP webservice. or
In this scenario i will go for any one open source ESB to consume the soap webservice in to my java application, and provide master data to
SAP application, can any one guide to me.Hi,
What IDE are you using?, for example with Eclipse i used WSDL2JAVA plugin in this way i converted the WSDL in java classes easily. Depending your development environment you can use different tools that makes easier the integration using the WSDL.
Regards.
Maybe you are looking for
-
NEW CUSTOMER WITH INTERMITTE​NT SERVICE - IN NEED OF ADVICE
Let me preface this post by stating that I am a new Verizon Customer, as of a few weeks ago. I've really enjoyed my Verizon FiOS services, which consist of the Verizon Triple Play with the upgraded 35/35 internet package. I have wanted the service
-
Problems having my iCloud account on Mail (with Snow Leopard)!
I have contacted apple store, apple office in Norway and went on chat with MobileMe support, but so far, I am not able to have my iCloud again on my MAIL since it disappeared yesterday. I am a bit upset and it would be great if there is any solution
-
After I import my pictures to iphoto, I can't see them in my events. I can find them in last import or last 12 months. Why did my pictures stop showing up in events???
-
How to keep unaltered the last line?
Hi I am doing some last corrections in a book which is going to be in the next days published and I am not allowed to change the form of the pages. (The indexes at the end of book are already done). Thus by correcting some footnotes (making them shor
-
Remote filepath for Server Audit specification
Hi, I am trying to create a Server Specification with the filepath as a remote share as below but keep in getting the error message ' The audit log file path is invalid'. CREATE SERVER AUDIT MarketDevLogToFile TO FILE ( FILEPATH ='\\10.1.1.1\Au