I've published a schema webservice(Request only) and just using default XML Receive Pipeline, even though message from client are schema invalid, it get through the web service, my question is:
if using a custom pipeline defined my the schema used by the web service, will client submit the message successfully? will client get any error letting them know the message is rejected by the web service because of wrong structure?
if cannot, does that mean i have to publish an orchestration, put an message constructor in Exception to create a error message to send back to client?
I’d take the 2nd approach and do the Xml validation inside the Orchestration.Then, send the response message back.Or if you use a request-response port you just need to thrown an exception – I think.
I think your 1st approach would work if you used the Xml Validate Component inside the pipeline.
Author
Posts
Viewing 1 reply thread
The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.