CRS Script and Web Service

Answered Question
Aug 15th, 2008
User Badges:
  • Bronze, 100 points or more

I am new to both of this, and am trying to write a script on how to send and receive data with Web Service (SOAP). Have anyone experience with this and know how, please provide some tips and pointers on how to accomplish this.


Thanks.

Dat Pham

Correct Answer by Chad Stachowicz about 8 years 9 months ago

This is not going to work without modification and some java knowledge. This is mearly a template for people that want to do a SOAP Query. You need to edit this template to do what you want it to do!


Chad

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
Chad Stachowicz Sat, 08/16/2008 - 13:50
User Badges:
  • Silver, 250 points or more

You are going to have to write a custom java class to do this. I post a java example a few weeks back. This post below has the file attached in it down at the 6th or 7th post.


http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=Contact%20Center&topicID=.ee6fe12&fromOutline=&CommCmd=MB?cmd=display_location&location=.2cbe3aeb


Kindly rate this or that post if you find the java code useful..


Chad

phamvinhdat Sun, 08/17/2008 - 08:00
User Badges:
  • Bronze, 100 points or more

Thanks Chad,


Since I have CRS version 5.0, how to upload or use the java class file? I could not find option that you mentioned in other thread (... upload it under the data files under the system menu on IPCC Express.)


Thanks.


Dat Pham

phamvinhdat Sun, 08/17/2008 - 15:45
User Badges:
  • Bronze, 100 points or more

Chad,


I able to upload the class and try it, but it run into this error msg:


error invoking method:getResult; nested exception is

java.lang.IllegalAccessException: Class com.cisco.expression.impl.MethodImpl can not access as a member of class AMSSOAPReq with modifiers "public static" lin:1, col:1)


Have you seen that msg before.

Thanks.


Dat

Correct Answer
Chad Stachowicz Tue, 08/19/2008 - 00:14
User Badges:
  • Silver, 250 points or more

This is not going to work without modification and some java knowledge. This is mearly a template for people that want to do a SOAP Query. You need to edit this template to do what you want it to do!


Chad

phamvinhdat Tue, 08/19/2008 - 05:47
User Badges:
  • Bronze, 100 points or more

Thanks, I got it working ok now.

Actions

This Discussion