Adapter development in PCK in a one2many scenario
Hello,
I want to develop my own adapter. To do that I installed the PCK and changed the relevant parameters as described in the help to pass the test messages through the PCK.
Before changing the sample adapter I tested a one2one scenario without problems.
But now to my question: is it possible to habe only one sender and two receiver in this PCK test scenario (one2many)? Is there a possibility to duplicate the incoming message to more than one receiver?
Kind regards,
Daniel
Hello,
I want to develop my own adapter. To do that I installed the PCK and changed the relevant parameters as described in the help to pass the test messages through the PCK.
Before changing the sample adapter I tested a one2one scenario without problems.
But now to my question: is it possible to habe only one sender and two receiver in this PCK test scenario (one2many)? Is there a possibility to duplicate the incoming message to more than one receiver?
Kind regards,
Daniel
Similar Messages
-
Adapter Development - No documented examples.
Hi All,
There is documentation in regards to the example custom adapter at the following location:
http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm
However, the code and the help files do not really advise how you build any type of adapter from scratch. This seems to be a tightly held secret at SAP and I was wondering if someone can provide or reference a blog or similar which describes the process to build a custom adapter (in and/or outbound). I don't feel it's really that complicated as I believe most of the code in the example should be reusable.
Note - I can't even get this type of information from my SAP XI subject matter expert and I feel this is an area where XI is perceived as not mature!
Regards,
Matt
ps. It's not my intent for rampant custom adapters to be developed, but where the design is impacted poorly due to limitations in say the JDBC adapter, we need to understand what's involved to build an adapter.Hi Matt,
The information you are looking for is available from service.sap.com.
Specifically, you want to download the XI PCK, which contains the code for a complete adapter. The PCK also includes testing tools for "loop back" so you can examine the contents of messages sent without using an XI system.
PCK is used by various 3rd parties to develop adapters.
To install PCK, you will need to download the WebAS J2EE also.
Regards,
Bill -
Adapter development - sender/inbound integration
hi,
i have few questions to ask ,in relation to adapter development.
1) the sample adapter given part of the documentation contains implementation representing a file oriented integration process.can it be deployed as an adapter and tried in the adapter framework for integration?
2)if the answer is yes to previous question,does the SAP's transaction managed provide transactional capablities for file access ?
3)the ManagedConnectionConnectionFactory implementation provided part of the sample adapter also implements Runnable interface stating the purpose of supporting sender/inbound integration.how the client can initiate a sender/inbound integration without any support from the implementation's jca cci to send the message from its
system ?
4)is there some clear example of sender/inbound integration implementation done part of the JCA adapter ?
regards,
janathanks gowtham,
2)if you see the SPIManagedConnectionFactory's sender/inbound integration implementation (to be specific sendMessageFromFile() method)the tx manager obtained from SAPAdapterResource is started ,file is copied and finally the tx is called to commit.that's why i had ask the second question .
3) the sample adapter implements CCI only for receiver/outbound integraiton,i fear i didn't find any of such support for sender/inbound integration
4)see this is what i like about you
regards,
jana -
How To Develop a Simple WebService App XI Scenarios
Hi,
How can I develop A simple Webservice for any scenario, for example, if am doing File to file scenario, and i want to develop a Webservice for the same scenario,
I think in ID we have an option Under Tools "Define Webservice" where in we can use wsdl format of the message interfaces.
How should i proceed to develop the Webservice?
Regards,
VarunHi Varun,
After creating the wsdl file u can deploy using MS visual studio.
Follow the steps and run the scenario.
use it in a Client Program in .NET : (assuming Maths as the WSDL and Webserice name)
1.) Place maths.wsdl in C:/Sample/ folder
2.) Open Visual studio command prompt using the Start Menu
Start->Programs->Microsoft Visual Studio 2005->Visual Studio Tools->Visual Studio 2005 Command Prompt
3.) In the Command prompt go to that directory
> C:
> CD\
> CD Sample
> wsdl maths.wsdl /out:"c:\sample"
4.) The previous step will create a file called Maths.cs , go to that folder and confirm this
5.) Open Microsoft Visual Studio 2005, open the Client application where this webservice needs to be called
6.) If your Client application is a web application, the see if the website has a folder called "App_Code"
If not then create this folder. Right Click on this folder and click on "Add Existing Item"
7.) Browse to C:/sample and select the Maths.cs file
8.) If your client is a Desktop application , just add this file in a similar manner to the project(no need of creating any folder)
9.) After the file gets added, open Maths.cs file
10.) Add a namespace to it for convinience
eg:
namespace SAP
This should come before the Class Declaration and close it after the class
eg: See the red lines
namespace SAP
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name = "Equi_get_NotifBinding", Namespace = "http://Equipment_Get_Notifications")]
public partial class Equi_get_NotifService : System.Web.Services.Protocols.SoapHttpClientProtocol
functions....
11.) Save the Maths.cs file
12.) Open the Webform or windows form code where this webserive will be called
13.) The webservice will now be available here under the SAP namespace
so when u type "SAP." u will get all the classes in it.
Add credential in this code as shown below
eg:
private void GetNotifications()
try
SAP.Equi_get_NotifService ser1 = new SAP.Equi_get_NotifService(); //This is the Webserive Proxy class
SAP.Equi_get_Notif_Request req = new SAP.Equi_get_Notif_Request(); //Request Class
req.Equipment = SAPID;
req.Date = Calendar1.SelectedDate;
System.Net.CredentialCache ch = new System.Net.CredentialCache(); //Adding Credentials for authentication on webservice server
System.Net.NetworkCredential cr = new System.Net.NetworkCredential("xisuper", "infotech");
ch.Add(new Uri(ser1.Url), "Basic", cr);
ser1.Credentials = ch; // Assing this Credential to the ProxyClass.Credentials property as shown here
SAP.Equi_get_Notif_ResponseNotifications[] res = ser1.Equi_get_Notif(req); //Call the webservice, res is the responce object
GridView1.DataSource = res;
GridView1.DataBind();
catch (Exception ex)
Response.Write(ex.Message);
"Award points if it is helpful" -
Urgent - XI adapter Development
I am preparing to lay my hands on the XI adapter development.
Could somebody provide some docs or link in this reg,
reg,Naveen,
I hope the below docs will help you in creating your own adapter.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
https://websmp201.sap-ag.de/~sapdownload/011000358700003237612005E/HowToCreateAdapterModules.pdf
Adapter Development
Adapter Development
Adapter Development || sample Adapter
Best Regards,
raj. -
Partner adapter developer certification
Is there any certification that SAP gives to an adapter developer partner? Is there any reference with this information?
Hi,
Refer to this link:
https://www.sdn.sap.com/sdn/developerareas/xi.sdn?page=xi_adapter_framework_certification.htm
https://www.sdn.sap.com/sdn/developerareas/xi.sdn?page=exchange_infrastructure.htm
And post your question in this forum:
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode1-5&contenttype=url&content=https://SAP Integration and Certification Center (SAP ICC)
Regards,
Sridhar -
Hi All,
I have to develop a module for the file adapter. I have installed the PCK (Partner Connectivity Kit) and the related development environment. I just need to test the module for the Receiver File Adapter. But how can this be done using PCK. What should be the minimum things required? Are there any articles or help available?
Thanks,
Sandeephttp://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/frameset.htm
The PDF
How To Create Modules for the J2EE Adapter Engine
available at service marketplace
https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
Should help you!!!
Regards,
Amol
Message was edited by: Amol Joshi -
Pass system ack of JDBC adapter to ERP in IDoc - XI - JDBC scenario
Dear all,
i have an IDoc -> XI -> JDBC scenario (without using ccBPM). In the standard way the ERP system, sending the IDoc waits for an application acknowledgement. However the JDBC adapter is only capeable to send system acknowledgements.
Is there a way to pass these acknowledgements to the IDoc status record?
In help.sap.com (http://help.sap.com/saphelp_nwpi71/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm) under "IDoc Processing with the IDoc Adapter " there is a table that maps XI system/applic acknowledgement to IDoc status. So in my opinion the status record of my IDoc should at least chenge to the corresponding status for the system ack.
Can anyone tell, if this is really working? What if I deactivate the acknowledgement request in the NOALE programm?
In any case, can I achieve to transfer the system ack to the IDoc status without using a ccBPM?
Many thanks and best regards
FlorianIs there a way to pass these acknowledgements to the IDoc status record?
Without BPM, No.
So in my opinion the status record of my IDoc should at least chenge to the corresponding status for the system ack.
The ack referred here is related to idoc status whether it is properly reached till XI or not and not related to the JDBC ack.
What if I deactivate the acknowledgement request in the NOALE programm?
Then u won't have any ALEAUD message at sender R3.
In any case, can I achieve to transfer the system ack to the IDoc status without using a ccBPM?
No
Regards,
Prateek -
Adapter development: binary data and adapter specific properties?
Hi,
We have succesfully developed our own SFTP adapter based on the J2SSH Maverick library (http://www.sshtools.com/showMaverick.do) and the sample file adapter that comes with XI.
There are 2 features we would like to implement as well, but lack the necessary documentation and sample code.
<b>1st Binary data</b>
We do not succeed in transporting binary data via our SFTP adapter (both text and xml go fine). While debugging, we see that the binary data are correctly picked up, but the actual payload appearing in message monitoring is much larger. When we write the message to a file again, the data have changed (size has e.g. increased importantly from 127180 bytes to 218198 bytes). According to the sample adapter code, the contenttype "application/octet-stream" should be specified. But the standard XI file adapter itself seems to specify "application/octet-stream".
<b>2nd Adapter specific properties (DynamicConfiguration)</b>
How can we set adapter specific properties in our own adapter code? Where are the Java docs of the API? Is this somewhere documented?
If you would have more information (or pointers), please post it as a response to this message.
Kind regards, Guy Crets
<b>Code snippet:</b>
XIMessageFactoryImpl mf = new XIMessageFactoryImpl();
Message msg = mf.createMessageRecord(fromParty, toParty, fromService, toService, action, actionNS);
msg.setDeliverySemantics(DeliverySemantics.ExactlyOnce);
// In case of XML documents it is not necessary to set the contentType or encoding
// But: take care that the encoding definiton in the XML document corresponds to the encoding used
if (msgText.indexOf("<?xml") != -1)
// Check whether the payload is a XML document. If not, treat it as binary to demonstrate how
// binary main documents work
// First create a XML Payload
XMLPayload xp = null;
xp = msg.createXMLPayload();
xp.setText(msgText);
xp.setName("MainDocument");
xp.setDescription("XI AF Sample Adapter Input: XML document as MainDocument");
msg.setDocument(xp);
// In case of binary documents use the Payload super class methods to fill the XMLPayload object
else
// Check whether the payload is a XML document. If not, treat it as binary to demonstrate how
// binary main documents work
// First create a XML Payload
XMLPayload xp = null;
xp = msg.createXMLPayload();
//xp.setContentType("application/octet-stream");
xp.setContentType("application/xml");
xp.setName("MainDocument");
xp.setDescription("XI AF Sample Adapter Input: Binary as MainDocument");
xp.setContent(msgData);
// Finally set the main document in the message
msg.setDocument(xp);
TRACE.debugT(SIGNATURE, XIAdapterCategories.CONNECT_AF, "Message object created and filled.");
ModuleData md = new ModuleData();
md.setPrincipalData(msg);Hello Moorthy,
I know this part of the documentation.
So I set the indicator within the communication channel.
Now, I have to fill the dynamic configuration during my mapping. My code looks like following:
DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
// access dynamic configuration
DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
// set value
conf.put(keyURL, url);
So what has to be filled instead of XXXXX ?
Regards,
Marc -
Adapter development on Adapter Framework PI 7.1
Hi experts,
This is relative to PI 7.1 EHP1.
I am learning how to develop an Adapter on Adapter Framework. On help I found this link: Example Adapter and Example Module. On example´s folder (see help link above) I found only a jar called com.sap.aii.adapter.sample.ra.jar, inside that jar there is only classes, no source code, and there is no index.html like it is written on help.
I think something is missing, or not?
Best Regards,
GabrielaHi Gabriela,
I am trying to develop a Sample Java Adapter as you did earlier. I have been through SAP Note 1004000 as well. But i couldn't find the "src.zip" as mentioned in the Note. Please help me on it.
Warm Regards,
DNK Siddhardha. -
Using adapter specific parameters in a multiple receiver scenario.
Hi all,
I have a scenario in which I am sending a binary file from one folder to another using a file sender and file receiver adapter.
But, I have another file receiver to this message which expects the filename of the above binary file in the form of an XML file.
I want to know is this possible to receive an adapter specific value in the form of XML when we havent sent any xml from source side?
Please reply.
SumitSumit,
I got ur sceario.
I'm sure u have designed the data type for the target file am I right.
Let say it looks like
DT_Filename
File 1..1
Filename 1..1
U might have created the message type for the same.
Please create the message mapping with the source and target as same(above structure).
Now create simple UDF with no input.
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION );
DynamicConfigurationKey key = DynamicConfigurationKey.create(
"http://sap.com/xi/XI/System/File","FileName");
String name = conf.get(key);
return ""name"";
UDF mapping
UDF --> Filename[Target node, as per my data type designed above]
Hope it helps!!!
If not kindly revert back.
Best regards,
raj. -
Unable to get create_SDA.bat file for custom adapter development.
Hi ,
I am working on custom adapters development following the PDF(SOA361-how to develop an adapter in SAP Netweaver PI) about using Sample Adapter .
In section where we will create the SDA file and deploy it to the J2EE server.
The create_SDA.bat file is unavailable , How can I get that file.
Regards,
Syed.This is the original content. Adjust it to your needs.
set PATH=C:\j2sdk1.4.2_11\bin;%PATH%
REM Create jar file
cd ..\AdapterZIP
jar cvf ..\AdapterZIP_RAR\zip_ra.jar *.xml com\test\zip\adapter\ra\*.*
REM Create rar file
cd ..\AdapterZIP_RAR
jar cvf ..\AdapterZIP_SDA\zip_ra.rar *.jar META-INF\*.*
cd ..\AdapterZIP_SDA
jar cvf zip_ra.sda *.rar META-INF\*.*
pause -
Message flow between advanced adapter engine and messaging system for ICO scenarios
Dear all,
I'm working on a PI 7.31 AEX box and created an ICO object for one interface with HTTP_AAE2IDoc scenario. The interface works quite well. When I looked in to message log of messages for this interface in PI monitor, I noticed that the internal XI message are put totally 5 times into the send queue and retrieved from send queue. In some steps I only see after retrieving a message from send queue and immediately put it back into send queue. Can someone please kindly explain the message flow between advanced adapter engine and messaging system and what exactly happens after each retrieving a message from send queue?
Below is an example of message log for one message:
12/08/2014 09:26:06.472 Information MP: processing local module localejbs/CallSapAdapter
12/08/2014 09:26:06.472 Information Application attempting to send an XI message asynchronously using connection HTTP_AAE_http://sap.com/xi/XI/System
12/08/2014 09:26:06.478 Information Trying to put the message into the send queue
12/08/2014 09:26:06.499 Information Message successfully put into the queue
12/08/2014 09:26:06.499 Information The message was successfully retrieved from the send queue
12/08/2014 09:26:06.499 Information The application sent the message asynchronously using connection HTTP_AAE_http://sap.com/xi/XI/System. Returning to application
12/08/2014 09:26:06.500 Information HTTP adapter successfully processed interface PlantResponse_Out
12/08/2014 09:26:06.501 Information Trying to put the message into the send queue
12/08/2014 09:26:06.501 Information Message status set to DLNG
12/08/2014 09:26:06.513 Information Message successfully put into the queue
12/08/2014 09:26:06.513 Information The message was successfully retrieved from the send queue
12/08/2014 09:26:06.515 Information Message status set to DLNG
12/08/2014 09:26:06.533 Information Trying to put the message into the send queue
12/08/2014 09:26:06.548 Information Message successfully put into the queue
12/08/2014 09:26:06.548 Information The message was successfully retrieved from the send queue
12/08/2014 09:26:06.550 Information Message status set to DLNG
12/08/2014 09:26:06.551 Information Executing Request Mapping "http://styrolution.com/pi/Integration/PlantMaintenance/PlantResponse/PlantResponse_to_Zcol_Basf_Inotif02_Inotif01_Zeupm_Inotif01_Ludwigshafen" (SWCV 085d2320fb3b11e2cc0bf4d50aea8c33)
12/08/2014 09:26:06.563 Information Trying to put the message into the send queue
12/08/2014 09:26:06.571 Information Message successfully put into the queue
12/08/2014 09:26:06.571 Information The message was successfully retrieved from the send queue
12/08/2014 09:26:06.573 Information Trying to put the message into the send queue
12/08/2014 09:26:06.573 Information Message status set to DLNG
12/08/2014 09:26:06.580 Information Message successfully put into the queue
12/08/2014 09:26:06.580 Information The message was successfully retrieved from the send queue
12/08/2014 09:26:06.582 Information Message status set to DLNG
12/08/2014 09:26:06.583 Information Delivering to channel: IDOC_R
12/08/2014 09:26:06.583 Information MP: processing local module localejbs/IDocOutboundModuleBean
12/08/2014 09:26:06.583 Information XI message received for processing
12/08/2014 09:26:06.587 Information Sender Party: Sender Service:SXX Receiver Party: Receiver Service:RXXCLNT200 Communication Channel:IDOC_R
12/08/2014 09:26:06.588 Information IDOC metadata repository is RXX
12/08/2014 09:26:06.589 Information Control record is not mandatory - control record will be added if not available
12/08/2014 09:26:06.590 Information XML Payload parsed to idoc document list with number of idocs: 1
12/08/2014 09:26:06.595 Information Sending idoc message to receiver R/3 system with TID XIh{lsRI824UITC0009OalmW
12/08/2014 09:26:06.813 Information IDOC message sent to receiver R/3 system
12/08/2014 09:26:06.817 Information TID XIh{lsRI824UITC0009OalmW confirmed
12/08/2014 09:26:06.819 Information Message was successfully transmitted to endpoint <local> using connection HTTP_AAE_http://sap.com/xi/XI/System
12/08/2014 09:26:06.821 Information Message status set to DLVD
Thanks & regards
DingjunHello All,
Thanks for the prompt responses and with best information, But apart from this,I need how an adapter(File/JDBC) works along
with AAE in PI 7.1. When does the job of File/JDBC adapter is completed and resumed in a synchronous case. That is,
File Location --> file adapter -
> XI(AAE) --> JDBC adapter --> database.
In file sender, lets suppose we have synchronous settings(Best Effort). Now when File adapter's job is finished and when it
gets back the response back from XI. Please explain step by step from starting(file adapter polling the location) to getting the response coming back to XI.
Regards,
Achari. -
Custom Adapter Development - Some bugs is the development process
hi
I'm working through the steps in the document "BEA WebLogic Integration -
Developing Adapters" - Chapter 4 Creating a Custom Environment.
I'm using the version of WLS 8.1.1 on the dev2dev trial CD.
I've encountered the following errors which I think are bugs and should be
fixed:
=========================================================
1. Incorrect naming of a properties file
=============================
Step 2. Rebuild the Tree - when running "ant release" immediately after
generation, the build fails with the following error:
Buildfile: build.xml
packages:
[echo] Building NICOLSON_SAMPLE_1_0...
generate_web_descriptors:
[java] Substituting web descriptor variable: display-name
[java] Substituting web descriptor variable: version
[java] Substituting web descriptor variable: extra-jsp-servlets
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: request-handler-class
[java] Substituting web descriptor variable: debug-setting
[java] Substituting web descriptor variable: extra-jsp-servlet-mappings
[java] Generated web.xml as:
C:\software\devtools\bea\weblogic81\integratio
n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
ml
merge_properties:
[echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
[echo]
props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
icolson\project/../../../adapters/nicolson/src
WLI_HOME=C:\software\devtools\bea
\weblogic81\integration\adapters\utils\ant/../../..
[concat] File
C:\software\devtools\bea\weblogic81\integration\adapters\nicols
on\src\NICOLSON_SAMPLE_1_0-base.properties does not exist.
BUILD FAILED
java.lang.NullPointerException
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at org.apache.tools.ant.taskdefs.Concat.catFiles(Concat.java:353)
at org.apache.tools.ant.taskdefs.Concat.execute(Concat.java:271)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371)
at org.apache.tools.ant.Task.perform(Task.java:317)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:334)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)
Total time: 1 second
This is occuring for because Step 1. Execute GenerateAdapterTemplate is
generating an incorrectly named properties file in the src directory.
i.e. it is generating NICOLSON_SAMPLE_1_0.properties when it should
generate NICOLSON_SAMPLE_1_0-base.properties
On correcting this problem, the next error will occur
==================================================
2. Missing junit.jar in wli_home/lib
==========================
Buildfile: build.xml
packages:
[echo] Building NICOLSON_GENERIC_1_0...
generate_web_descriptors:
[java] Substituting web descriptor variable: display-name
[java] Substituting web descriptor variable: version
[java] Substituting web descriptor variable: extra-jsp-servlets
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: request-handler-class
[java] Substituting web descriptor variable: debug-setting
[java] Substituting web descriptor variable: extra-jsp-servlet-mappings
[java] Generated web.xml as:
C:\software\devtools\bea\weblogic81\integratio
n\adapters\sal\project\..\..\..\adapters\sal\src\war\WEB-INF\web.xml
merge_properties:
[echo] Merging NICOLSON_GENERIC_1_0-base.properties and ADK.properties
[echo]
props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\s
al\project/../../../adapters/sal/src
WLI_HOME=C:\software\devtools\bea\weblogic8
1\integration\adapters\utils\ant/../../..
[javac] Compiling 15 source files
[javac]
C:\software\devtools\bea\weblogic81\integration\adapters\sal\src\com
\nicolson\base\integration\sample\jca\bea\sal\spi\NonManagedScenarioTestCase
.jav
a:9: package junit.framework does not exist
[javac] import junit.framework.*;
[javac] ^
[javac]
C:\software\devtools\bea\weblogic81\integration\adapters\sal\src\com
\nicolson\base\integration\sample\jca\bea\sal\spi\NonManagedScenarioTestCase
.jav
a:20: cannot resolve symbol
There was no junit.jar in WLI_HOME/lib. The problem disappears once this jar
is added.
===============================================================
3. Class not found error when running tests using "ant test"
==========================================
Buildfile: build.xml
packages:
[echo] Building NICOLSON_SAMPLE_1_0...
generate_web_descriptors:
[java] Substituting web descriptor variable: display-name
[java] Substituting web descriptor variable: version
[java] Substituting web descriptor variable: extra-jsp-servlets
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: request-handler-class
[java] Substituting web descriptor variable: debug-setting
[java] Substituting web descriptor variable: extra-jsp-servlet-mappings
[java] Generated web.xml as:
C:\software\devtools\bea\weblogic81\integratio
n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
ml
merge_properties:
[echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
[echo]
props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
icolson\project/../../../adapters/nicolson/src
WLI_HOME=C:\software\devtools\bea
\weblogic81\integration\adapters\utils\ant/../../..
test:
[java] <3/10/2003 10:40:37 AM EST> <Debug> <NICOLSON_SAMPLE_1_0>
<000000> <
added new configuration from file 'NICOLSON_SAMPLE_1_0.xml' with root
category '
NICOLSON_SAMPLE_1_0' to category hierarchy for locale 'en_US'>
[java] Loading
com.nicolson.integration.bea.sample.spi.NonManagedScenarioTe
stCase for inclusion in the test suite
[java] Loading
com.nicolson.integration.bea.sample.event.OfflineEventGenera
torTestCase for inclusion in the test suite
[java] EXCEPTION: attempted to load
com.nicolson.integration.bea.sample.eve
nt.OfflineEventGeneratorTestCase
[java] java.lang.ClassNotFoundException:
com.nicolson.integration.bea.sampl
e.event.OfflineEventGeneratorTestCase
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
[java] at java.security.AccessController.doPrivileged(Native
Method)
[java] at
java.net.URLClassLoader.findClass(URLClassLoader.java:186)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
[java] at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
[java] at
com.bea.adapter.test.TestHarness.suite(TestHarness.java:61)
[java] at
com.bea.adapter.test.TestHarness.main(TestHarness.java:96)
[java] java.lang.NoSuchMethodError:
junit.textui.TestRunner.run(Ljunit/fram
ework/Test;)V
[java] at
com.bea.adapter.test.TestHarness.main(TestHarness.java:96)
[java] Exception in thread "main"
[java] Java Result: 1
BUILD SUCCESSFUL
Total time: 2 seconds
The missing test case is being explicitly excluded from the build:
<javac deprecation='true' debug='true'>
<classpath refid='CLASSPATH'/>
<src path="${SRC_DIR}"/>
<include name="**/*.java"/>
<exclude
name="com/nicolson/integration/bea/sample/event/OfflineEventGeneratorTestCas
e.java" />
<exclude name="war/jsp_servlet/**"/>
</javac>
If it is included, the following compile error occurs...
C:\software\devtools\bea\weblogic81\integration\adapters\nicolson\project>an
t re
lease
Buildfile: build.xml
packages:
[echo] Building NICOLSON_SAMPLE_1_0...
generate_web_descriptors:
[java] Substituting web descriptor variable: display-name
[java] Substituting web descriptor variable: version
[java] Substituting web descriptor variable: extra-jsp-servlets
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: adapter-logical-name
[java] Substituting web descriptor variable: request-handler-class
[java] Substituting web descriptor variable: debug-setting
[java] Substituting web descriptor variable: extra-jsp-servlet-mappings
[java] Generated web.xml as:
C:\software\devtools\bea\weblogic81\integratio
n\adapters\nicolson\project\..\..\..\adapters\nicolson\src\war\WEB-INF\web.x
ml
merge_properties:
[echo] Merging NICOLSON_SAMPLE_1_0-base.properties and ADK.properties
[echo]
props_dir=C:\software\devtools\bea\weblogic81\integration\adapters\n
icolson\project/../../../adapters/nicolson/src
WLI_HOME=C:\software\devtools\bea
\weblogic81\integration\adapters\utils\ant/../../..
[javac] Compiling 1 source file
[javac]
C:\software\devtools\bea\weblogic81\integration\adapters\nicolson\sr
c\com\nicolson\integration\bea\sample\event\OfflineEventGeneratorTestCase.ja
va:1
62:
com.nicolson.integration.bea.sample.event.OfflineEventGeneratorTestCase.Test
EventRouter should be declared abstract; it does not define getName() in
com.nic
olson.integration.bea.sample.event.OfflineEventGeneratorTestCase.TestEventRo
uter
[javac] class TestEventRouter
[javac] ^
[javac] 1 error
BUILD FAILED
file:C:/software/devtools/bea/weblogic81/integration/adapters/nicolson/project/b
uild.xml:340: Compile failed; see the compiler error output for details.
Total time: 2 seconds
This is because an inner class used in the test case does not fully
implement methods of the interface it realizes.
In fact it is missing a number of methods.
=========================================================
Just as well I'm only doing a personal eval :)
Regards
Jim NicolsonDear Aandi,
I am really thankful to you for this. I will suggest this to the business and then they can contact adobe for this. Thanking you once again for providing me with all the valueable info. You have been instrumental in helping me out in my project.
Best Regards,
Deepak Goyal -
ICI adapter development (IC Web Client)
Hello, all
We are developing ICI adapter(like Genesys Gplus)
using ICI Interface Specification and
two wsdl files(IciSystem-3.10.wsdl and IciUser-3.10.wsdl).
But method getWorkcenterCapability does not run.
Other method not related Free seating are
running correctly.
We think wsdl files we got are old version.
Do you know how to get new wsdl file?
Thanks,
Ryousuke MiyazakiHello friends,
we have installed gplus adapter for sap-erp integration. Can some one please let me know how to configure a connection between sap application server and an Adapter.
We got stuck in creating a SAPphone server on sap. In transaction SM59 while creating a new TCP/ip connection RFC destination, we need to set the RFC destination name and program id .
what should be the value for program id? Do we need to code a RFC for this ? cos be gave the program id as SPS.PROG as mentioned in the gplus deployment guide, but the connection test failed.
Can someone please help me in fixing this.
Just one more, how to obtain SAP RFC SDK binary files? Shd these binary files need to be placed in the gplus working directory? Does the tcp/IP connection failed due to missing binary files?
Thanks in Advance. please reply me on [email protected]
Maybe you are looking for
-
Mini display port to hdmi not working
I recently purchased a new mac pro (2011). I have been trying to connect it to my HD ready tv using a MiniDisplayPort to HDMI cable (from Cablematters). However when I go to system prferences and choose Sound, on the mac, the TV is not showing up in
-
Printing/Saving to PDF not working
When trying to save to pdf, I get this message: "Saving a PDF file when printing is not supported. Instead, choose File > Save." I have Adobe Acrobat Reader 9.1 So far I have been unable to save any documents to pdf. I am trying to print specific pag
-
Can't read PDF's in iBooks after upgrade to IOS 5
After upgrading to IOS 5 (and selecting no sync to avoid PDF's disappearing) I can't open any of my PDF's in iBooks. I can't see covers, and if I select any of them, they only change to a "selected color", but they never open. Please help.
-
I have developed a Oracle Report which can display through the web browser. How can I put it in a Portlet? Do I have to add any provider ? null
-
Hi Freinds, I am new enhancements, i have requirements on BADI's, can any one help me in this how to slove this BADI's Points will be given The BADI's are 1.The header text of the reference document is to be copied as well when purchase Requisition (