on 03-25-2008 3:14 PM
Hi All,
Could you advice how to construct the request spml message in receiver interface and adapter settings(communication channel) to generate the following sample SPML message:
<spml:addRequest targetID=Sleek executionMode=synchronous requestID=1234 xmlns:spml=urn:oasis:names:tc:SPML:2:0>
<spml:psoID ID=11111/>
<spml:data>
<cardholder id=11111 divisionID=Packaging startDate=26-Aug-2006 08:00:00 endDate=30-Aug-2006 11:59:59>
<Cdfs>
<Cdf id=Last Name>ravijeet</Cdf>
<Cdf id=Email>ravijeet4u@gmail.com</Cdf>
<Cdf id=Registration>ABC-123</Cdf>
</Cdfs>
</cardholder>
</spml:data>
</spml:addRequest>
I can define the data type and message type as per xsd in <spml:data>...</spml:data>
How do I construct the following header:
<spml:addRequest targetID=Sleek executionMode=synchronous requestID=1234 xmlns:spml=urn:oasis:names:tc:SPML:2:0>
<spml:psoID ID=11111/>
....
.....
</spml:addRequest>
Thanks and regards,
Ravijeet
What is your service provisioning system?. Is it follow SPML specification, if yes, you should get the SPML request and response XSD metadata from them ( may be they also have a WSDL based on the provisioning service they provided), import them into XI repository and build the interface to be called via SOAP adaptor for establishing service provision concepts.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shaji,
I need to create the following spml request in my receiver SOAP adapter:
<spml:addRequest targetID=Sleek executionMode=synchronous requestID=1234 xmlns:spml=urn:oasis:names:tc:SPML:2:0>
<spml:psoID ID=11111/>
<spml:data>
<cardholder id=11111 divisionID=Packaging startDate=26-Aug-2006 08:00:00 endDate=30-Aug-2006 11:59:59>
<Cdfs>
<Cdf id=Last Name>ravijeet</Cdf>
<Cdf id=Email>ravijeet4u@gmail.com</Cdf>
<Cdf id=Registration>ABC-123</Cdf>
</Cdfs>
</cardholder>
</spml:data>
</spml:addRequest>
How do I create the data types for the above message.? How do I create the tag element <spml:addRequest targetID=Sleek executionMode=synchronous requestID=1234 xmlns:spml=urn:oasis:names:tc:SPML:2:0> while I am creating the data type?
My service provisioning system is webservice built on WAF(Windows Application Framework).
The sample request xsd for calling the webservice is :
<xsd:schema xmlns="urn:schemas-XXX" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xsd:element name="cardholder">
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string"/>
<xsd:attribute name="divisionID" type="xsd:string"/>
<xsd:attribute name="startDate" type="xsd:date"/>
<xsd:attribute name="endDate" type="xsd:date"/>
<xsd:sequence>
<xsd:element name="Cdf" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="ID" type="xsd:string"/>
</xsd:element>
</xsd:element>
</xsd:schema>
Thanks in advance
Ravijeet
Hi,
Can you please tell us what you are trying to do..Your request is not very clear..I would worry about the response ..after a good request.
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.