07-29-04 10:51 PM
Hi
This may be a daft question as I'm quite new to XML and namespaces but I was
hoping someone could confirm or deny whether the following is really causin
g a problem that I'm experiencing.
I've basically exposed a biztalk orch as a web service and I have been tryin
g to get the front page 2003 data view wizard to recognise the wsdl so that
I can generate a web part that interacts with my orchestration (This is a BT
related question- really!)
. The problem I'm having is that although FP can recognise the port and ope
rations it can't see the parameters that need to be passed to the operations
. I was wondering whether this could be due to the extra blank namespaces t
hat BT inserts into child e
lements when you generate a web service using the wizard. e.g.
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:x
sd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org
/soap/envelope/">
<soap:Body>
<GetQuote xmlns="http://www.landg.com">
<TermQuoteRequest xmlns="http://Direct.TermQuoteRequest">
<Life xmlns="">
<title>string</title>
<forename>string</forename>
<surname>string</surname>
<sex>string</sex>
<dob>date</dob>
<smoker>Yes or No</smoker>
<mail>Yes or No</mail>
</Life>
<QuoteBasis xmlns="">
<sumAssured>string</sumAssured>
<premium>string</premium>
<term>string</term>
<frequency>Monthly or Annually</frequency>
<waiver>Yes or No</waiver>
<cic>Yes or No</cic>
<product>Level Term or Mortgage Term or Mortgage Decreasing Term</product>
</QuoteBasis>
</TermQuoteRequest>
</GetQuote>
</soap:Body>
</soap:Envelope>
This is the example soap message that is visible when you browse to the asmx
page and as you can see the child elements have some spurious empty namespa
ces inserted. Does this take them outside the namespace of the root element
and thus make them invisib
le to FP or is that just a red herring caused by my lack of knowledge? I ju
st thought I'd ask for advice as my other web services (.net ones) seem to b
e OK when there is just the root namespace.
Thanks for any advice !
Ian
[ Post a follow-up to this message ]
|