Windows Server - BizTalk/WSDL Problems

Asked By Karl Uppiano
11-Nov-09 05:10 PM
I posted this over at microsoft.public.biztalk.appintegration, but received
absolutely no response. If this is not the right place to post, please
advise.

We have a web service that uses WS-Addressing, WS-Resource,
WS-ResourceLifetime, WS-ResourceProperties, WS-BaseFaults and WS-Security.

As you might imagine, this WSDL is rather complex, and it includes a number
of other WSDLs and schemas. However, we spent a lot of effort to make sure
it passes WS-I validation. We have used this web service successfully with a
number of SOAP clients, including SoapUI, Apache ODE (Orchestration Director
Engine), so we were surprised to find that we could not use it in a BizTalk
project.
1. Create an Empty BizTalk 2009 project in Visual Studio 2008
2. Import Web Service as a Web Reference or Service Reference
3. Try to build the project and you will get the following error:
Wildcard '##any' allows element
'http://www.w3.org/2005/08/addressing:ReferenceParameters,' causes the
content model to become ambiguous.


Can anyone provide a clue as to why this does not work? Attempting to debug
the WSDL is difficult because the Visual Studio import tool does not provide
detailed syntax diagnostics, or line numbers to locate the problem. It would
be a great help if someone could tell us where to find more verbose logging
output, or enable more diagnostic info from the VS web service import tool.

If this is truly a problem with the schema for WS-Addressing, there is not
much we can do about it, right? We do not wish to modify third party
documents.

We would appreciate any help, suggestions or work-arounds. We can post our
WSDL/Schema somewhere if that will help.

Regards,
Karl(dot)Uppiano(atsign)attachmate(dot)com
Visual Studio 2008
(1)
BizTalk
(1)
ReferenceParameters
(1)
ResourceProperties
(1)
ResourceLifetime
(1)
ServiceReference
(1)
WebReference
(1)
WebService
(1)
  Stefan[www.itsconsulting.fr] replied to Karl Uppiano
12-Nov-09 01:24 PM
Hi Karl,

Why do you want to add a WebReference or a ServiceReference?
Do you want to call the WebService in the Orchestration?

Could you also try to add, a Generated Schema from your exposed WSDL ?

Regards,
Stefan
http://www.itsconsulting.fr
http://www.elbeb.com
  Karl Uppiano replied to Stefan[www.itsconsulting.fr]
13-Nov-09 12:51 PM
Hi Stefan,

Yes, we want to use the web service as part of an orchestration project. Is
adding a web reference or a service reference not the appropriate thing to
do?

Thanks,
Karl
  Karl Uppiano replied to Stefan[www.itsconsulting.fr]
13-Nov-09 01:12 PM
Perhaps I can be more specific:


We are an ISV selling a product that generates web services from
user-defined stored procedures inside our product. Our customers might want
to import our web services in various ways, using various tools and
platforms. They will expect to consume our web services with Visual Studio,
dot NET, BizTalk, NetBeans, Eclipse, Apache ODE, etc., in stand-alone
projects, BPEL orchestrated projects, on or with various application server
platforms.


Who generates the schema from my exposed WSDL? We have a separate schema
that we generate ourselves, that the WSDL imports.

I guess my real concern is, how do we obtain detailed diagnostic information
from Visual Studio, BizTalk, or dot NET, for example, which line of the
WSDL/Schema does the parser find invalid? Is this a Visual Studio or a
BizTalk problem? The behavior is different using Visual Studio with BizTalk
vs. dot NET. We could probably sort it out if we had adequate diagnostic
information.
  Stefan[www.itsconsulting.fr] replied to Karl Uppiano
16-Nov-09 07:54 AM
Karl,

I thought you could re-generate the Schema from Visual Studio (right
click on the project -> add generated items... then generate the
Schema from the WSDL file) I am not sure if it will work?

Another path to follow is looking closely at your error message :
Wildcard '##any' allows element
'http://www.w3.org/2005/08/addressing:ReferenceParameters,' causes
the
content model to become ambiguous

When VS imports the Schema from the WSDL it generates classes.

Then could you have a closed look at the generated classes, and check
where this '##any'  is in your code, from there you might have an idea
of where the error is !

Regards,
Stefan
  Karl Uppiano replied to Stefan[www.itsconsulting.fr]
16-Nov-09 06:17 PM
Well, the problem is, '##any' is in the WS-Addressing schema. That is a
third party standard schema that we import to support stateful web services.
If we want to use standards based WS-* constructs, then we have to use the
standard schemas, and we have to leave them unmolested.
  Stefan[www.itsconsulting.fr] replied to Karl Uppiano
17-Nov-09 06:25 AM
Hi Karl,

Can you send me your schema, I will try to test it on my machine

Regards,
Stefan
http://www.elbeb.com/invest
http://www.itsconsulting.fr
Create New Account
help
Visual Studio 2008 problem with Orchestrations - ODPackage Windows Server I am getting the message "Package ODPackage failed to load properly" when trying to open orchestrations in Visual Studio 2008 SP1. It then ends up opening the orchestration as an XML document. This was working it has stopped and is erroring. I have tried a repair of both BizTalk and Visual Studio 2008. I also removed the BizTalk Developer tools and reinstalled without any avail. Shawn BizTalk
BizTalk 2006 R2 on Visual Studio 2008 Windows Server Microsoft said that we only need VS2008 for any .NET framework, looks like 2006 R2 to work on VS2008. so I need both VS2005 and VS2008. BizTalk Discussions Visual Studio 2008 (1) BizTalk (1) Splunteren (1) Ee351e2ca802 (1) Rumours (1) Cyoung (1) VS2005 (1) Cb0f (1 or just wanted to inform the group. Anyway, BizTalk 2006 R2 doesn't work with Visual Studio 2008. There a rumours that a future service pack will fix this. Also have a
Visual Studio 2008 Windows Server Does anyone know if there is any chance that Visual Studio 2008 will show up under products any time soon? Likewise, will updates for Visual Studio 2008 be showing up in WSUS any time soon? Windows Server Update Services Discussions Visual
Debuf ISA Web filter using Visual Studio 2008 Windows Server Hi, Can any one help me with finding instruction of how to debug an ISA Web filter using Visual Studio 2008. Thanks in advance. ISA Server Discussions Visual Studio 2008 (1) DebugViewer (1) Debuf (1) Sysinternals (1) Textlog (1) Hi, I use a straight
Visual Studio 2008 and Terminal Server 2008 problem Windows Server Hi, Could you help me to fix following problem? I have terminal server in apps mode based on Windows Server 2008 SP2 with Visual Studio 2008 pro SP1 ??? 7 users. My problem is that sometimes the server crashes ??? once a month