showing 5 of 6
show 1 more comments
|
You sent a single string instead of a valid xml. You need to send a valid XML-object.
With this you create a valid response. Change the senderPerson to your field of choice and your fine. First you need to specify how your request looks. So Ivy understands the incoming request and can validate the fields. You can create such specification in creating a plain java class inserting the code above. The first line defines the name of the request in this case contentType. Followed by properties. You add them in correct order separated by comma. I added a single field called senderPerson. The Java class itself maps the xmltype field to Java fields and provides getter and Setters. You can use this class now as Parameter type in your webservice call. Wow, this is definitely not straight forward. I hoped, that Xpert.ivy does the String-To-XMLparsing job for me, as I am used to from using Inubit. I need more information to get your answer to work for me. Where to put your code - in a script step or somewhere else? And what do you mean with "field of choice" - is this the name of an data class attribute of the type ch.ivyteam.ivy.scripting.objects.Xml? Could you add a picture of a SoapUI generated XML-request? I've added the raw XML request at the end of my question. It would be nice, if I get further support, since I don't know how to implement the answer (see my comment of 06.12 at 14:43). The answer makes no sense to me. can you share a soap UI project with the mocked service and sample answer as well? else I'm not able to reproduce this issue - as the schema is not available from my network. Hi Reguel. Thank you very much for your offer to help. But as it is now too late for the students to implement a solution, I told them that they should ignore for now. But in the long-term I would like to get a solution to this. May I contact you in January 2014 for a netviewer session, so we can investigate this directly on my computer?
showing 5 of 6
show 1 more comments
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 06.12.2013 at 14:03
Seen: 16,941 times
Last updated: 13.12.2013 at 07:28
PS: Your WSDL is not valid to ppl outside the ZHAW Network.
I'm using the service now outside the ZHAW Network and it works in soapUI. Why do you mean, it isn't valid?
because we can't see venus.zhaw.ch:8000 outside the zhaw Network.
Probably your firewall is blocking venus.zhaw.ch, because it has not a valid SSL certificate. But when you check venus.zhaw.ch with port 8000 outside of the Soreco Network, it is open: see ping.eu/port-chk
Off topic: May I ask, where you work?
sent you an E-Mail