Hello,
recently I have been assigned the task to upgrade an application. This
application communicated with a 3rd party through mail boxes. Now this
3rd party wants to upgrade to using webservice requests, and so we
have to upgrade too.
The problem is
1) I have very limited knowledge of creating webservice in .NET,
although I understand the basic concept behind it
2) This project had to be done yesterday ;)
Apparantly, they work with a standard protocol, which is defined at
http://www.3gpp.org/ftp/Specs/archiv.../REL-5-MM7-1-0.
I need to create a webservice that can parse requests coming from this
3rd party. In this scenario I'm the webservice, and they are the
client.
The document referenced here is an XSD schema, which I succesfully
turned into a set of classes using XSD.exe (although there were issues
with the case of the boolean "False", which I had to turn into "false"
before the file would get generated).
But now I'm stuck. The other party sent me an XML with the soap
request (see end of message), but I dont know what to implement. As
far as I understand from the soap message, I should create a webmethod
called DeliverReq, but I dont know where to start. I need to process
the data from this soap request. Do I need to implement this method
myself, or do I somehow use the classes generated by xsd.exe??? Can
someone point out the next logical step that I'm missing?
Jan Jacobs
ja*****@spector.be
<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/
soap-envelope.xsd">
<soap-env:Header>
<TransactionID soap-env:mustUnderstand="1"
xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0
mm7_with_mustUnderstand.xsd">fh-transaction-id-40-1112951907595</TransactionID>
</soap-env:Header>
<soap-env:Body>
<DeliverReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0
mm7_with_mustUnderstand.xsd">
<MM7Version>5.3.0</MM7Version>
<MIBIdentification>user</MIBIdentification>
<MIBPassword>pass</MIBPassword>
<LinkedID>MESG:1112951907396-10.1.100.27</LinkedID>
<Sender><Number>+32479700023</Number></Sender>
<Recipients><To><ShortCode>3277</ShortCode></To></Recipients>
<TimeStamp>2005-04-08T09:18:27-00:00</TimeStamp>
<Priority>Normal</Priority>
<Content allowAdaptations="true" href="Content-id-20" type="mms"/>
</DeliverReq>
</soap-env:Body>
</soap-env:Envelope>