my Webservice, their XSD. How to integrate them?
We have a company that is requesting us to have a webservice in order to interact with our Database.
They sent us a documentation where they state that they need us to respond complying with some Automobile Insurance XSD file.
they have a predefined Soap Request ( I think they as well comply with certain XSD for request).
So at this point i am very confused on how to handle this situation. I have created webservice before but never used any mandatory XSD or specific SOAP Requests.
I have no clue on how to start dealing with this. Anyone can help me understand and get me started?
I am going to post both, the Soap Request they send and the XSD they want us to comply with.
Thank You
Note. Unfortunately i j开发者_JAVA百科ust realized i can't post the XML here. It doesnt shows the markup.
Without knowing the language/library combination you plan on using I cannot give advice. However, in general there are two strategies:
- Languages like Java and .NET will let you generate classes from an XSD. This class will of course be serializable, so just make the classes the request and response contracts.
- WSDL is a superset of XSD, so if your soap library supports it, make the WSDL manually, have it import that XSD, and generate a stub service from it.
精彩评论