on 10-30-2015 12:45 PM
hi all,
on trying to connect SuccessFactors system through PI system via AXIS adapter, we are getting the error : java.lang.NoSuchMethodError: org.apache.axis.message.MessageElement.setDirty()
so anybody having any information about how to resolve this error?
the url for axis message servlet shows status OK.
thx. all helpful replies will be appreciated.
Hello Stewart,
Check as Inaki suggested,also post your channel screenshot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stewart,
Have you checked the libraries are installed?, go to the http://hostname:50000/XIAxisAdapter/MessageServlet and check if any library is missed.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
which libraries should be there to get the AXIS adapter run properly? basis guy has deployed few jars and in required components after running above url shows that it founded axis.jar, commons-discovery.jar and commons-logging.jar.
so any other libraries which it should have listed here on running above url for axis message servlet - it shows status as OK.
thx.
Hi Stewart,
It depends about what you want to use. If you go the link that i mentioned the Required Components are mandatory.
In your case i've checked (Download axis-1.4.jar : axis « a « Jar File ...) that the class org.apache.axis.message.MessageElement.class is in the jar axis-1.4.jar. Have you got this library deployed?
Regards.
Hello Stewart,
check this link as well
Preparing SOAP Axis Adapter Libraries SDA for SAP PI | SAP NW Newbie
i will try to post the channel config.
a general question - if the AXIS receiver adapter is going to be used to send data to destination system, in our case SuccessFactor system, is there any general set of adapter module configuration to be put in module tab, which if we put then at least the request from AXIS receiver adapter should reach the destination system?
any idea pls. thx.
have you imported success factors standard content?
under SFIHCM01 you will find communication channel template, one for login and one for other interafces. these two channel templates will have all modules to be used in channel.
after you create the channel, select apply templates, you are good to go.
https://websmp108.sap-ag.de/~sapidb/011000358700000734132013E/
hi,
the configuration done in AXIS communication channel is based on the template configuration. i matched it with the above document template configuration and it is the same, but on running the scenario, the error is still coming.
we are using SFIHCM01 SWCV.
one thing which i am observing is that the transport protocol is HTTP(Axis) but the URL which we are invoking to connect to is having https://<SF URL>:443/<something> - so will this cause any issue by having transport protocol as HTTP(Axis) and the URL having https?
we are using XI CONTENT from SAP BASIS 7.02, even though our PI system is on PO 7.4 - because we are using SFIHCM01 SWCV - is this going to cause any issue here?
the error currently coming on communication channel is - error : java.lang.NoSuchMethodError: org.apache.axis.message.MessageElement.setDirty()
any ideas. thx.
your issue is with soap axis installation.
i installed below jars in my system. it is working fine though faced few hurdles.
also check if jar deployment is successful.
you can try one more time, download jars, construct sda file and install.
Pleas share us what you get in
http://hostname:50000/XIAxisAdapter/MessageServlet
prepared new sda file using sdamakertool utility from SAP note using the jars axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.4.jar and wsdl4j-1.5.1.jar - did not used any sda file from installation, just used these 4 jars and outputted from the tool the axisproviderlib.sda file.
on deploying it in PI dev system, the AXIS message servlet shows Status as OK, required components as all available and 8 optional components missing.
on trying to run the Login interface, the above error java.lang.NoSuchMethodError: org.apache.axis.message.MessageElement.setDirty() still comes.
does after deploying AXIS sda in PI system, a restart is needed in PI system? and does the comm channel needs to be manually stopped and started to reflect the changes in AXIS adapter processing - as currently the error has not changed even on deployment of the above new sda file? does we need to check with what data the interface is getting run from HCM system - though i think it should not affect the runtime behaviour of AXIS adapter - any ideas pls. thx.
so axis adapter got deployed.
now the error has changed to NO_PERMISSIONS_EXCEPTION Insufficient permissions! - this clearly shows the user which we are using to invoke the SF system is not having sufficient authorization.
we are using the report RH_SFI_SYNCHRONIZE_EMPL_DATA to run a variant to send an employee data from HCM to SF via PI. the request message for login, upsert and logout come in PI system.
the question is - which object is getting updated in SF system via the SFSFUserUpsertRequestConfirmation_Out interface - how to find it out?
the payload shows in it:
<upsert>
<type>User</type>
<sfobject>
<type>User</type>
<status>active</status>
so it seems the SFAPI for User is getting invoked - is this correct?
also how to set the permissions to the user in SF system for this object - so which object it is in SF and how to set its permissions for updation for this user?
any ideas pls thx.
kindly close this thread and create new thread.
coming to access issue, please check with Succesfactors consultant. they can help you on this.
for payload, <sfobject>
i guess you are looking in ESR mapping.
list of fields, like empname,id,address all come under this in runtime.
better check the triggered interface payload.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.