Problems invoving WebService from dotnet sender
Hi All,
Iam trying to implement the below scenario "Looking for replacing SAP.NET connectors with SAP XI?"
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
I have completed all the steps as mentioned in the blog and when iam trying to test this from the DotNet code i get the below error
"Object Reference not set to an instance of an object"
Looks like the request structure is getting populated with the data as well and when it tries to invoke the webservice it fails.
Did any one of you face this kind of error earlier.
<u>FYI.: </u>This is successfully tested from SOAP client and Stylus studio which eliminates any PI interface related issues.
Thanks
Pradeep
Hi,
I have run into another error now.
Error Details: System.Net.WebException
This error comes when the DotNet code tries to execute the url from the Reference.vb file.
Also i tried to execute this webservice from STYLUS STUDIO. It seems to only work Apache.Axis option. When i use Microsoft.Net option it errors out saying "Couldnot establish trust relation ship with remote server"
Is there anything on XI server i need to active to accept Calls from Dotnet system.
Thanks
Pradeep
Similar Messages
-
Problem calling WebService from Oracle Forms created by JDeveloper
Hi All,
I am trying to call a Webservice from Oracle Form using JAVA Class created by Oracle JDeveloper.
The Java Function (in JDeveloper) is as follows:
public Vector GetPIValue(String TagName, String ReadingTime) throws Exception
URL endpointURL = new URL(endpoint);
Envelope requestEnv = new Envelope();
Body requestBody = new Body();
Vector requestBodyEntries = new Vector();
requestBodyEntries.addElement(TagName);
requestBodyEntries.addElement(ReadingTime);
requestBody.setBodyEntries(requestBodyEntries);
requestEnv.setBody(requestBody);
Message msg = new Message();
msg.send(endpointURL, "http://tempuri.org/GetPIValue", requestEnv);
Envelope responseEnv = msg.receiveEnvelope();
Body responseBody = responseEnv.getBody();
return responseBody.getBodyEntries();
When this Class is Imported into Oracle Forms the Function is converted into the following PL/SQL code:
FUNCTION GetPIValue(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2,
a1 VARCHAR2) RETURN ORA_JAVA.JOBJECT IS
BEGIN
Message('param passed: '||a0||' - '||a1);
cls := JNI.GET_CLASS('oracle/forms/demos/webservice/ConnectToPIStub');
mid := JNI.GET_METHOD(FALSE, cls, 'GetPIValue', '(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;');
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_STRING_ARG(args, a0);
JNI.ADD_STRING_ARG(args, a1);
Message('I am Here');
RETURN JNI.CALL_OBJECT_METHOD(obj, mid, args);
END;
When I am calling this Function from Within Forms and Passing into it the Parameters, I am displaying some Debugging Messages. When the Code reaches "JNI.CALL_OBJECT_METHOD" there is NO RESPONSE from the Webservice and nothing is moving forward after this Point...
A similar Webservice that can be Tested is:
http://www.webservicex.com/CurrencyConvertor.asmx
with WSDL file:
http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
Kindly note that this Webservice is running properly from the Web Browser but the call from Oracle Forms is not Succeeding!!!! :-((
Any help is much appreciated.
Regards,
BazHi,
Yes, you need to compile your source files with JDK 1.3 (since JInit 1.3.x.x uses JDK 1.3).
Other solution would be to use JRE 1.5 (instead of JInitiator).
Check out [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=550563] on how to use JRE1.5
-Arun -
Problem creating webservice from existing code in sjse8
I have a java class with three methods in an enterprise app (no ejbs) that I want to expose with webservice. In sudio5 I had no problem with webservice creation but in studio8 when I chose "From scratch, Use existing code", it gives me the opting to go to my class and select those methods. When I click finish, it generates an Implementation class that has declaration for my java class repeated 3 times which is obviously wrong and under it says:
// Enter web service operations here. (Popup menu: Web Service->Add Operation)
The class is empty.
I choose "rpcliteral", "strict", "useonewayoperations" and "donotoverride" under web module property / webservice.
And as you can guess it generates a wsdl file with no webservice methods info.
I have and am checking all forums and searching different sites but haven't fond anything yet.
I appreciate any help resolving this issue.Seems this feature doesn't work properly in jse and completely removed from latest nb55 enterprise pack (only session enterprise bean case remain)
-
Problem accessing webservice from abstract portal component
Hi,
I have created a webservice from a portal service. So i have created one more portal application to accessing that web service. In that, i have done the following:
-> Portal Service from Wsdl file - Client Side
-> I have entered the Wsdl file name as, the location of the WebService
-> I have selected the methods what i want to use in my application
-> Finally i have given my ServiceName, Alias and Package as well.
-> I have created one application object (Abstract Portal Component) to access the Web Service.
-> Inside that AbstractPortalComponent, i have written the coding to access the methods.
-> I have created one system with System Alias, i used this Alias name in my portalapp.xml
While running it shows the error as,
<b>com.sapportals.portal.prt.service.ServiceException: Service not found: com.sap.portal.prt.soap.Alias</b>
Help me in this, Thanks in Advance.,
With Regards,
Venkatesh.K.Hi venkatesh I ahve similar problem please could you share with us how did you sort out this error?
Sreekanth -
Problem accessing Webservices from Flex
Hi All,
I have created a Webservice in Abap and configured it using
SOAMANAGER transaction. I am able to succesfully test the Web serivice which I have created in 'Soamanager ' transaction.
But when I am calling this Webservice from Flex application I am getting an error as " FAULT : faultCode:WSDLError faultString:'Runtime exception Error #1009' faultDetail:'null' "
We tried calling the Webservice outside SAP from the FLex application, it is working fine.
Please let me know how to rectify this error . It's an urgent requirement.
Thanks and regards,
Uma.hi
when you create your destinations for your webservices in the SOAMANAGER-> Destination Template
you would be providing wsdl url and destination , and in the below you can
find the username and pwd that need to set , you need to select the radio buttons with logon tickets ,
username , password , there , re-check the username and pwd by selecting the radio button with selecting the
radio button username password , and even check the webservice in the WSNAVIGATOR , whether its working
fine , and other thing is there is situation where your webservice may work fine inthe wsnavigator even then there would
be some problem inthe webservice , even check this scenario.
Thanks -
Problem calling WebService from XI scenario
Hi forum,
i trued to make a scenario to call a webservice from my XI scenario, i made it using the following blog :
/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
I have configured a receiver SOAP channel and has mentioned the Target URL as
http://www.webservicex.net/CurrencyConvertor.asmx
now the scenario gives the error in the communication channel monitoring in RWB as
SOAP: call failed: java.net.UnknownHostException: www.webservicex.net
but from my local machine i can access this URL, ....can u pls site the defectHi sudeep,
Specify the proxy address details like address and port. and also check the soap receiver channel properly configured or not.
Regards,
Deviprasad Pothireddi. -
Problem calling WebService from VisualComposer model at runtime
Hello Experts,
I have a very simple model with form as input for calling Webservice on backend system and a table as output.
During the runtime the WebService call is failing with:
Error while getting the backend function : Could not find operation Z_EAI_GETUSERROLES_WS.ZEaiGetuserroles
The service definition is succesfully published to CE's ServiceRepository.
There is a correct entry for backend system under SOA->Destination Template Management in CE NWA.
I can succesfully test this WebService in WSNavigator in both systems - CE and backend.
I can succesfully test this WebService in NWDS at design time (by right-clicking on service)
In Logs Viewer I can see the following entries:
error 2011-10-13 17:16:01:838 Stopped further execution since the interpreter is unusable /Applications/wd4vc com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.XGLInterpreter sap.com/aanisecurityui~vc_impl
info 2011-10-13 17:16:01:837 Closing the connection for the system SRR /Applications/wd4vc com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.postExecution: sap.com/aanisecurityui~vc_impl
warning 2011-10-13 17:16:01:272 No classification system found for ID 'uddi:uddi.sap.com:categorization:physical-system-id' /Applications/UDDI/Classification com.sap.esi.uddi.sr.cs.handler.impl.ejb.util sap.com/tcesiuddisrcs~ear
Can you please advise me what else I need to check to solve this error?
Best Regards,
Artsiom AnichenkaHi Artsiom ,
I don't know VC and how it is on CE 7.3, but when developing Java Webdynpro application using CE 7.11 on same principle (with destination template defined in NWA), we sometimes faced almost same situation due to cache problem...
Basically, this happen if you deploy your application using a model, change your webservice (for example adding a new field), re-import the model in NWDS and re-deploy. In NWDS, everything seems to be ok, but at runtime, it fails due to cache problem which is not refreshed with the new meta data definition. The only solution in 7.11 was to restart the server. I think (but not sure) that starting 7.2, there is a tool to clean the (webservice) cache.
I hope it could help...
Regards
Olivier -
Call webservice from PJC over https protocol
Hello!
I have problem calling webservice from PJC.
The webservice is on https server so I must declare the keystore and truststore...
I have generated java classes from wsdl file with SOPAUI and axis 1.0...
Then I have made a code which integrate axis library, jsee ...
On the client side all works fine (with jdk 1.3 compiler)
When I deploy it on oracle forms server and call it from oracle form I get the error:
java.net.MalformedURLException: unknown protocol: https
in this way I register the certificate..
private void registrirajCertifikat(String direktorij, String password,
String keyStore, String trustStore) {
System.out.println("keystore: " + direktorij + keyStore);
System.out.println("trust: " + direktorij + trustStore);
System.out.println("========================================");
System.setProperty("javax.net.ssl.keyStore", direktorij + keyStore);
System.setProperty("javax.net.ssl.keyStorePassword", password);
System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");
System.setProperty("javax.net.ssl.trustStore", direktorij + trustStore);
System.setProperty("javax.net.ssl.trustStorePassword", password);
System.setProperty("javax.net.ssl.trustStoreType", "jks");
System.out.println("========================================");
System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
}I have my kestore and truststore located on http server..
Every time the bean is initializzed I download the keystore and truststore to my java.tmp.dir
The same code in Jdeveloper works fine.. also in cmd prompt.. but in oracle forms I can't get it to run..
anybody can help me?
this is my console output when running a form:
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\peterv.IN2SLO
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\peterv.IN2SLO\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Loading http://dekani:7777/forms/java/frmall_jinit.jar from JAR cache
Loading http://dekani:7777/forms/java/images.jar from JAR cache
Cached copy of http://dekani:7777/forms/java/in2kartica.jar
** DOKUMENTNI SISTEM **
** PJC bean **
zacetek
http://10.1.2.235/in2/asarh.pfx
Copying resource (type: application/octet-stream, modified on: Dec 18, 2009 12:39:35 PM)... to: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
3794 byte(s) copied
http://10.1.2.235/in2/arhaskeystore.jks
Copying resource (type: application/octet-stream, modified on: Dec 18, 2009 12:39:35 PM)... to: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
3800 byte(s) copied
Registriramo nastavitve za SSL
keystore: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
trust: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
========================================
po registraciji nastavitev za SSL
========================================
https://hosting.arhiviraj.si/webservice2/InDocArchiveWS.asmx
--> napaka: *java.net.MalformedURLException: unknown protocol: https*
java.net.MalformedURLException: unknown protocol: https
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at in2.mikrocop.Test.dokumenti(Test.java:94)
at in2.mikrocop.Test.testiranje(Test.java:66)
at in2.mikrocop.Test.<init>(Test.java:49)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at oracle.forms.ui.VBean.instantiateBean(Unknown Source)
at oracle.forms.ui.VBean.setProperty(Unknown Source)
at oracle.forms.handler.UICommon.instantiate(Unknown Source)
at oracle.forms.handler.UICommon.onCreate(Unknown Source)
at oracle.forms.handler.JavaContainer.onCreate(Unknown Source)
at oracle.forms.engine.Runform.onCreateHandler(Unknown Source)
at oracle.forms.engine.Runform.processMessage(Unknown Source)
at oracle.forms.engine.Runform.processSet(Unknown Source)
at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
at oracle.forms.engine.Runform.onMessage(Unknown Source)
at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)I have tryed tu run my example with Jinitiator "java" like
c:\java -jar c:\in2kartica.jar
and all works fine..
I don't know why the same example won't run inside oracle form as javabean?!?
this is my cmd console
C:\jdk\bin>java -jar c:\in2kartica.jar
** DOKUMENTNI SISTEM **
** PJC bean **
keystore: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\asarh.pfx
trust: C:\DOCUME~1\PETERV~1.IN2\LOCALS~1\Temp\arhaskeystore.jks
========================================
po registraciji nastavitev za SSL
========================================
https://hosting.arhiviraj.si/webservice2/InDocArchiveWS.asmx
unknown attr1.3.6.1.4.1.311.17.1
Dolzina: 91 <------------ this is the result from webservice located on address above -
Problem while pinging Webservice from SUP 2.0
Hi ,
i am developing an SUP application using webservices.
I am unable to ping the webservice from SUP.
Using the following webservice: [http://www.currencyserver.de/webservice/currencyserverwebservice.asmx?WSDL]
I get the following error on pinging it.
com.sybase.sup.tooling.xml.XmlException: java.net.UnknownHostException: www.currencyserver.de
at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:589)
at com.sybase.sup.tooling.wsdl.WsdlParser.parse(WsdlParser.java:68)
at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:70)
at com.sybase.uep.tooling.eis.WsEISOperationBuilder.<init>(WsEISOperationBuilder.java:51)
at com.sybase.uep.datasources.ws.views.WSConnection.initialize(WSConnection.java:154)
at com.sybase.uep.datasources.ws.views.WSConnection.<init>(WSConnection.java:38)
at com.sybase.uep.datasources.ws.views.WSConnectionFactory.createConnection(WSConnectionFactory.java:28)
at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Unknown Source)
at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Unknown Source)
at org.eclipse.datatools.connectivity.ui.PingJob.createTestConnection(Unknown Source)
at org.eclipse.datatools.connectivity.ui.PingJob.run(Unknown Source)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.net.UnknownHostException: www.currencyserver.de
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
at sun.net.www.http.HttpClient.New(HttpClient.java:306)
at sun.net.www.http.HttpClient.New(HttpClient.java:323)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
at com.sybase.sup.tooling.wsdl.WsdlParser.parseURL(WsdlParser.java:578)
Please let me know the solution.
Regards,
Jitendra KansalHi Guru,
i saved that page in form of .WSDL file and it worked. thanks for it.
but the problem is while creating MBO
step 1. i selected a data type as webservice and connection profile CurrencyConversionServices
step2. then i selected the "GetCurrencyvalue" operation that import a provider agency, a source and destination currency and exports the exvhange rate.
step3. when i am giving some default values for
provider >> "AVERAGE"
Source Currency>> "ARS"
Destination Currency>> "USD"
when i am moving on next screen it is throwing the following error.
Error occurred during execution, please check the default Values of the selected input parameters and refresh again.
Reason: www.currencyserver.de
when i am clicking on Details to check it is showing...
www.currencyserver.de
www.currencyserver.de
java.net.UnknownHostException: www.currencyserver.de
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195)
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
java.net.Socket.connect(Socket.java:529)
java.net.Socket.connect(Socket.java:478)
java.net.Socket.<init>(Socket.java:375)
java.net.Socket.<init>(Socket.java:249)
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:560)
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:199)
org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:400)
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:225)
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:435)
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:402)
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
com.sybase.vader.da.ws.soap.SoapInteractionOperation.execute(SoapInteractionOperation.java:498)
com.sybase.vader.statistics.MonitoringOperation.execute(MonitoringOperation.java:65)
com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation.execute(PipelineCompositeInteractionOperation.java:55)
com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:265)
com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:165)
com.sybase.uep.tooling.eis.WsEISOperationImpl.execute(WsEISOperationImpl.java:808)
com.sybase.uep.tooling.ui.ModelsUtil.getEEISOperationMetaData(ModelsUtil.java:255)
com.sybase.uep.tooling.ui.mappertree.common.AttributesMapperDataBuilder.constructTargetRoot(AttributesMapperDataBuilder.java:104)
com.sybase.uep.tooling.ui.mappertree.common.AbstractMapperDataBuilder.build(AbstractMapperDataBuilder.java:37)
com.sybase.uep.tooling.ui.wizards.common.AttributesBottomUpWizard.createAttributes(AttributesBottomUpWizard.java:767)
com.sybase.uep.tooling.ui.wizards.common.AttributesBottomUpWizard$3.run(AttributesBottomUpWizard.java:643)
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Regards,
Jitendra -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
Problem while Consuming Java Webservice from WCF client
Hi,
I am trying to Consume Java Webservice from WCF client.The webservice main functionality is digital data management.The client can Query Digital data and upload digital data by calling webservice methods.Problem is when i am trying to call webmethod from WCF client its giving "Unrecognised message versions".I have no idea about how the message objects are processed at serverside.but at server side they have used JAXP for XML document parsing.
The response content type is Multipart/related and applicatio/XOP+XML.
Can u plz help me how to handle this situation.I have minimum knowledge in Java WS architecture.Basically i am .Net programmer.
Can U please guide me in a proper way to resolve the problem.Hi Abinash,
I have the same problem. Have you solve that problem?
I am using a java program to call a webservice too. And I have generated the client proxy definition for Stand alone proxy using NWDS. When I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
The java code to call the webservice is as follows.
MIDadosPessoaisSyncService service = new MIDadosPessoaisSyncServiceImpl();
MIDadosPessoaisSync port = service.getLogicalPort("MIDadosPessoaisSyncPort");
port._setProperty("javax.xml.rpc.security.auth.username","xpto");
port._setProperty("javax.xml.rpc.security.auth.password","xpto");
String out = port.MIDadosPessoaisSync("xpto", "xpto");
System.out.println(out);
The result I am getting is :
Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
Error Message is :com/sap/guid/GUIDGeneratorFactory
<b>The result of the WS is correct!!!</b>
The Java project does not have any warning. But the stand alone proxy project has following warnings associated with it.
This method has a constructor name MIDadosPessoaisSync.java
The import javax.xml.rpc.holders is never used MIDadosPessoaisSyncBindingStub.java
The import javax.xml.rpc.encoding is never used MIDadosPessoaisSyncBindingStub.java
The constructor BaseRuntimeException(ResourceAccessor, String, Throwable) is deprecated MIDadosPessoaisSyncBindingStub.java
It is very similar with your problem, could you help me?
Thanks
Gustavo Freitas -
Problem: The same filename from a sender to a receiver file adapter - SP14
Blog : /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
My Problem:
The thing works for me and i am able to get my input files name as my output file name. But one thing i noticed is that in my target message, the field where i have mapped the code it always returns the value "null" but finally when the file is created i get the required result.
My input file name is input.txt and i get the same name in my output file too.
In sxmb_moni if i check DynamicConfiguration link i see the following
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Response
-->
- <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30">
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFTPHost">10.25.116.98:21</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/input/test</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileTimestamp">20060228T112200Z</sap:Record>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileType">bin</sap:Record>
<b><sap:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">input.txt</sap:Record></b>
<sap:Record namespace="http://sap.com/xi/XI/System/File" name="SourceFileSize">770</sap:Record>
</sap:DynamicConfiguration>
But when i check my mapped field i see
<field3>BodyC</field3>
<keyfield>02</keyfield>
<field5>BodyE</field5>
<field6>BodyF</field6>
</Body>
- <Trailer>
<keyfield>03</keyfield>
<b><field2>null</field2> -> Null value instead of input.txt</b>
</Trailer>
</ns0:MT_Putfile>
The code i have used to map the field2 of the trailer is the following ....
<i>DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileType");
String valueOld = conf.get(key);
return valueOld; </i>
Any clues ?Gosh this is spooky
Anyway i tried with that line of code but it throws me an error during activation ...
Activation of the change list canceled Check result for Message Mapping mm_IS | http://t-systems.com/Shabarish: Starting compilation Source code has syntax error: /usr/sap/TXT/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map387c7300a9ac11da9d280011256afae8/source/com/sap/xi/tf/_mm_IS_.java:104: cannot resolve symbol symbol : method getTransformationParameters () location: interface com.sap.aii.mappingtool.tf3.rt.GlobalContainer DynamicConfiguration conf = (DynamicConfiguration) container.getGlobalContainer().getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION); ^ 1 error
The code is :
DynamicConfiguration conf = (DynamicConfiguration) container.getGlobalContainer().getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
//DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
//String valueOld = conf.get(key);
String valueOld = conf.toString();
return valueOld;
Thanx Renjith so far .. but i hope this gets resolved (else i will loose my sleep thinkin abt the situation) -
Hi,
I Build an Lync 2013 set up with FEpool, Director pool and Exchange server is integrated. I have windows 8 client machine, with Lync client installed. When I try to login to the lync client, I am getting error like"There was a problem verifying
certificate from the server".
When I installed ROOT CA cert manually on client machine I am able to login to the lync client. similarly if I add my client machine in my domain, I am able to login to the Lync client.
Now is there any other way to send the certificate automatically to the client machine (Which are NOT part of the DOMAIN) from the server, instead of manual installation process.
Please help me troubleshoot this problemAgree with S Guna, there is no easy way to push a certificate automatically to a client that you don't control other than building an installer package and asking them to run it. In this situation, if there are a lot of non-domain joined machines
a third party certificate is the way you need to go.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications -
Facing problem with the code for sending an .xls attachment via email, a field value contains leading zeros but excel automatically removes these from display i.e. (00444 with be displayed as 444).kindly guide .
Hi Chhayank,
the problem is not the exported xls. If you have a look inside with Notepad or something like that, you will see that your leading zeros are exported correct.Excel-settings occurs this problem, it is all about how to open the document. If you use the import-assistant you will have no problems because there are options available how to handle the different columns.
Another solution might be to get familiar with ABAP2XLS-Project. I got in my mind, that there is a method implemented, that will help you solving this problem. But that is not a five minute job
~Florian -
Really weird problem -- won't download mail from one sender
I'm having a really weird problem. Apple Mail won't retrieve mail from my Gmail account via POP3 from one sender only. All other mail is downloaded normally, except from a particular sender. What could be causing this? Thanks.
I am trying to remember and research something about the Junk filter and Gmail accounts. Have you checked in your Junk mailbox, if Junk in enabled and there is a separate Junk mailbox?
If you click on my name to the left, and look in the bio line of the resulting Profile, you will find an email address you can reach me with. If you email me at that address, I will send you a Gmail address that your sender can test sending a message to me at my Gmail account.
Ernie
Maybe you are looking for
-
I start the AIR in Target Disc mode, then start the iMac and run the Migration Assistant and follow the instructions as outlined here. The iMac just churns and never does come up with the AIR's hard drive. Both machines are running Mountain Lion and
-
I have some B/W video cameras(analog) are they supported by Labview
i have some B/W video cameras that I wanted to use with LabView but they are not in the list of supported cameras under LabView, but they are still very new and they work great and they are small and light weight which are two important things that I
-
Spatial query to find all partially aligned lines
Hi There. I need to find all partially aligned polylines in the layer (interiors have 1-dimentionali intersection). Actually, polylies may a little fluctuate along each other, but that spatial disjointment shouldn't exceed some certain tolerance. It
-
Hi All, I am getting the following error when I try to use the tag library in my JSP page OracleJSP: oracle.jsp.parse.JspParseException: Line # 1, <%@ taglib uri="/WEB-INF/test_tags.tld" prefix="test" %> It seems that it is not able to parse the tld
-
Why do some headphones not work in my iPod 4th gen.?
I got new earbuds for Christmas but when I put them in my iPod it sounds weird. It like remove the vocals and it plays them in the background really soft and the bass plays really loud over them. Other headphones work fine in my iPod and these work f