Calling web services with complex type?

J

Jéjé

Hi,

I've a webservice with some "complex" types as parameters.
FP 2003 detect these types, but don't provide a good interface to fill these
parameters.

In my case, it's the reporting services web service.
I try to call the "search" function which wait for a complex type like:
Array of condition, and a condition is:
* Name
* Value
* ConditionEnum (Equals, Contains)

So, I've to pass my parameter like this:
<SearchCondition><Name>Title</Name><Value>test</Value><ConditionEnum>Contain
s</ConditionEnum></SearchCondition>

How to do this in FP2003?
and how to do this dynamically (through liked webpart for example)?

thanks.

Jerome.
 
J

John Jansen \(MSFT\)

If you are authoring against a SharePoint server, simply click Data..Insert
Data View, expand the "Web Services" section and paste in the WSDL.
FrontPage will parse the service and present UI for you to fill in the
necessary Parameters.
 
J

Jéjé

I do that
but the parameter displayed by FP is not complete.
In my case, the name and value doesn't appear, I see only the
"ConditionEnum" property.

so I can't fill these properties in FP.

any other way?
 
T

Tom Pepper Willett

Please do not post attachments in this newsgroup.

As you should know by now, many viruses come via zip files.

Many people will not open any attachments in this newsgroup.

And, it's unfair for those who use a slow internet connection to have to
download posts such as this.

Thank you.

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| if you have installed it, get the reporting services WSDL file.
| I've attached the wsdl file.
|
| I'm trying the "finditems" method.
| this method use a Searchcondition array.
| a search condition is derived from the complex type called "Property" and
| add the "Condition" property to this complex type.
|
| FP display only the "Condition" property, but not the derived complex type
| which contains my 2 others properties: name and value.
|
| "John Jansen (MSFT)" <[email protected]> a écrit dans le
message
| de | > Can you give me the wsdl?
| >
| > --
| > Thanks!
| > John Jansen
| > Microsoft Office FrontPage
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > | > >I do that
| > > but the parameter displayed by FP is not complete.
| > > In my case, the name and value doesn't appear, I see only the
| > > "ConditionEnum" property.
| > >
| > > so I can't fill these properties in FP.
| > >
| > > any other way?
| > >
| > > "John Jansen (MSFT)" <[email protected]> a écrit dans le
| > > message
| > > de | > >> If you are authoring against a SharePoint server, simply click
| > > Data..Insert
| > >> Data View, expand the "Web Services" section and paste in the WSDL.
| > >> FrontPage will parse the service and present UI for you to fill in
the
| > >> necessary Parameters.
| > >>
| > >> --
| > >> Thanks!
| > >> John Jansen
| > >> Microsoft Office FrontPage
| > >> This posting is provided "AS IS" with no warranties, and confers no
| > > rights.
| > >> | > >> > Hi,
| > >> >
| > >> > I've a webservice with some "complex" types as parameters.
| > >> > FP 2003 detect these types, but don't provide a good interface to
| fill
| > >> > these
| > >> > parameters.
| > >> >
| > >> > In my case, it's the reporting services web service.
| > >> > I try to call the "search" function which wait for a complex type
| like:
| > >> > Array of condition, and a condition is:
| > >> > * Name
| > >> > * Value
| > >> > * ConditionEnum (Equals, Contains)
| > >> >
| > >> > So, I've to pass my parameter like this:
| > >> >
| > >
|
<SearchCondition><Name>Title</Name><Value>test</Value><ConditionEnum>Contain
| > >> > s</ConditionEnum></SearchCondition>
| > >> >
| > >> > How to do this in FP2003?
| > >> > and how to do this dynamically (through liked webpart for example)?
| > >> >
| > >> > thanks.
| > >> >
| > >> > Jerome.
| > >> >
| > >> >
| > >>
| > >>
| > >
| > >
| >
| >
|
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top