Hello ivyTeam

Authentication information (Web Service Call Step) have to be sent in a SOAP-request. WS-Nonce, WS-Created and WS-Time-to-Live are mandatory attributes.

Has Xpert.ivy Designer a configuration option or maybe exists a workaround for such purpose?

Thank you in advance.

Sergej

asked 10.02.2014 at 14:17

Sergej's gravatar image

Sergej
(suspended)
accept rate: 0%

edited 18.02.2014 at 16:41

Flavio%20Sadeghi's gravatar image

Flavio Sadeghi ♦♦
(suspended)


Hello Tamas

thank you for reply.

It looks good! I'll give a try and correspond the results here.

@why and what - there are project requirements and data import goes over WS with following authentication. Not more or less. Another alternative was to set up an independent triggered tomcat instance to solve this task. But yours suggestion opens new perspectives in this case.

Regards

Sergej

link

answered 14.02.2014 at 11:10

Sergej's gravatar image

Sergej
(suspended)
accept rate: 0%

Hello Sergej

in fact it's a high level XIVY extension. Be careful when performing, and do it only if you really know why & what you do.
There is no such feature in IVY to set these special properties, but there is a workaround. First of all you have to know that whenever you generate Axis 1 / 2 client classes for a WS configuration, then Java stub class files are newly created (.java), compiled, and packed to a jar file. Next to the jar file you always find its counter part WSDL file. These files are located in the YOUR_PROJECT_DIR/lib_ws/client folder.

You can do the following:

1, configure and generate your Axis client classes
2, locate the jar file in lib_ws/client folder, which contains stub classes for your WS
3, backup it
4, extract it
5, open the YourWebServiceABC_Stub.java file (e.g. CONTACTPERSON_READ_INStub.java)
6, extend it's only method which has got similar name to its Stub class. It has got an input parameter like XYRequest and a return type YZResponse
This method is invoked, whenever XIVY invokes this Web Service. Therefore in this method you may set up any Axis parameter you like (e.g. TTL, etc.)
7, save, recompile this class
8, pack your WS client jar file, and place it to its original location
9, Restart XIVY designer.
10, Enjoy!

Cheers
Tamas

link

answered 12.02.2014 at 23:50

Tamas%20KIS's gravatar image

Tamas KIS
(suspended)
accept rate: 60%

edited 12.02.2014 at 23:51

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48
×2

Asked: 10.02.2014 at 14:17

Seen: 10,222 times

Last updated: 18.02.2014 at 16:41