regarding response to the service
regarding response to the service
I used a WISD input and WISD output to invoke the job as a service,
Used a tool to test the service but the thing is if there are 5 fields but I get the response as 3 fields because other 2 fields have null values.
Is there any way where I could see null in the response for those two fields.
Used a tool to test the service but the thing is if there are 5 fields but I get the response as 3 fields because other 2 fields have null values.
Is there any way where I could see null in the response for those two fields.
Thanks,
Surya
Surya
this are the response parameters
<element name="school_nm" nillable="true" type="xsd:string"/>
<element name="school_cd" nillable="true" type="xsd:string"/>
<element name="city" nillable="true" type="xsd:string"/>
<element name="state" nillable="true" type="xsd:string"/>
<element name="zip" nillable="true" type="xsd:string"/>
can anyone tell me which format is this?
<element name="school_nm" nillable="true" type="xsd:string"/>
<element name="school_cd" nillable="true" type="xsd:string"/>
<element name="city" nillable="true" type="xsd:string"/>
<element name="state" nillable="true" type="xsd:string"/>
<element name="zip" nillable="true" type="xsd:string"/>
can anyone tell me which format is this?
Thanks,
Surya
Surya
I'm not entirely sure, but I think the SOAP representation for a null xml element (one that is allowed to be nillable, as you showed us above) is to simply not include it in the body. The tool receiving the response should know that if the element isn't present, it must be null.......
xml is very flexible with null values.....they can be "not present" or present and have an attribute of null="true", or have some type of application value (blanks or a string like "null" as a value).
Try some other tools for testing to compare.
Ernie
xml is very flexible with null values.....they can be "not present" or present and have an attribute of null="true", or have some type of application value (blanks or a string like "null" as a value).
Try some other tools for testing to compare.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
I'm sorry...I don't understand your question.....
Ernie
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
Yes.... just put a single column on the output link of your xmlOutput Stage....make it longvarchar with some long length and put a single "/" in the Description.......the whole completed xml will go into a single column.
...test it first by sending to a flat file with no delimiter and no quote characters......
...then send that to your wisdOutput Stage.
Ernie
...test it first by sending to a flat file with no delimiter and no quote characters......
...then send that to your wisdOutput Stage.
Ernie
Ernie Ostic
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>
blogit!
<a href="https://dsrealtime.wordpress.com/2015/0 ... ere/">Open IGC is Here!</a>