Solved

How to create ASP.NET WebService with Siebel Integration Object

Posted on 2013-06-29
6
924 Views
Last Modified: 2013-07-15
Hi,

I want to create one WSDL file from my ASP.NET WebService for Siebel.

I have got following information from my client:

1) XSD file (integration object)
2) a Sample WSDL file with one webmethod in this.

I tried using WSDL file utility to just crerate Proxy classes but i think thats not what I want to do.  Please help me know how can I produce one WSDL from my ASP.NET application which can be consumed by Sibel client to call our Webmethod using the same integraton (XSD) object.

Please help me know how ASP.NET and Siebel can interact with each other where a Siebel client will call ASP.NET WebService to push some data using the Siebel preferred Integration (XSD) object,

Thanks,
Amit
0
Comment
Question by:advikseth1000
  • 3
  • 3
6 Comments
 
LVL 11

Expert Comment

by:lenordiste
ID: 39287850
I am a bit confused about what you really need. Are you looking to provide a webservice or consume one?

for wsdl, just in case you did not know, by default it is enable and can be found with a browser by appending ?wsdl at the end of the webservice's url. For example:
http://yourdomain.com/yourwebservice.aspx?wsdl

if that's not what you need, can you give us more detail please?
0
 

Author Comment

by:advikseth1000
ID: 39288850
Hi,

I want to expose one ASP.NET WebService to Siebel client. I know that how to see WSDL but the real problem is that I want to make sure that my WSDL can be correctly consumed by Siebel.

I want my wsdl to look like as follows. If you notice in this WSDL, IntObject.xsd file is imported. My question is how can I make sure that I also follow the same path in ASP.NET by importing this XSD.

Please note that the following WSDL is from our competitor who is using Siebel. But we are using ASP.NET and want to make sure that out client (who is also using SIebel) should be able to consume our webservice with same integration object..


<?xml version="1.0" encoding="UTF-8"?><definitions
 xmlns="http://schemas.xmlsoap.org/wsdl/"
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
 xmlns:xsdLocal1="D:\IntObject.xsd"
 targetNamespace="http://siebel.com/CustomUI"
 xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:tns="http://siebel.com/CustomUI"
><types
><xsd:schema
 elementFormDefault="qualified"
 attributeFormDefault="unqualified"
 targetNamespace="http://siebel.com/CustomUI"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
><xsd:import
 namespace="D:\IntObject.xsd"
></xsd:import
><xsd:element
 name="spcPOC1_Input"
><xsd:complexType
><xsd:sequence
><xsd:element
 ref="xsdLocal1:myData"
></xsd:element
></xsd:sequence
></xsd:complexType
></xsd:element
><xsd:element
 name="spcPOC1_Output"
><xsd:complexType
><xsd:sequence
><xsd:element
 name="Error_spcCode"
 type="xsd:string"
></xsd:element
><xsd:element
 name="Error_spcMessage"
 type="xsd:string"
></xsd:element
><xsd:element
 name="UserDateTime"
 type="xsd:string"
></xsd:element
><xsd:element
 name="UserSIN"
 type="xsd:string"
></xsd:element
></xsd:sequence
></xsd:complexType
></xsd:element
></xsd:schema
><xsd:schema
 elementFormDefault="qualified"
 attributeFormDefault="unqualified"
 xmlns:xsdLocal1="D:\IntObject.xsd"
 targetNamespace="D:\IntObject.xsd"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
><xsd:annotation
><xsd:documentation
>Copyright (C) 2001-2004 Siebel Systems, Inc. All rights reserved. Siebel XSD Generation</xsd:documentation
></xsd:annotation
><xsd:element
 name="MyData"
 type="xsdLocal1:MyData"
></xsd:element
><xsd:complexType
 name="MyDataTopElmt"
><xsd:sequence
><xsd:element
 name="MyData"
 maxOccurs="1"
 minOccurs="1"
 type="xsdLocal1:MyData"
></xsd:element
></xsd:sequence
></xsd:complexType
><xsd:complexType
 name="MyData"
><xsd:sequence
><xsd:element
 name="Move"
 maxOccurs="unbounded"
 minOccurs="0"
 type="xsdLocal1:Move"
></xsd:element
><xsd:element
 name="Location"
 maxOccurs="unbounded"
 minOccurs="0"
 type="xsdLocal1:Location"
></xsd:element
><xsd:element
 name="Inventory"
 maxOccurs="unbounded"
 minOccurs="0"
 type="xsdLocal1:Inventory"
></xsd:element
 ................
So on...


Thanks,
Amit
0
 
LVL 11

Expert Comment

by:lenordiste
ID: 39289227
is there a lot of difference between you wsdl files (the one generated) and the one you want to implement?

here is some information to customize your wsdl to look like the one you sent:
http://msdn.microsoft.com/en-us/library/ms181856(v=vs.90).aspx
definitely look at the WebServiceBindingAttribute:
http://msdn.microsoft.com/en-us/library/system.web.services.webservicebindingattribute.aspx

on a side note, if possible you may want to look at WCF since it gives you much more control on your web service and seems better suited for interoperability purposes :-)
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:advikseth1000
ID: 39292679
Thanks for the reply.

I could generate a very similar wsdl file by :

1) creating classes by using WSDL utility with \interface switch.
2) adding this class in my WebService and by implementing the methods of interface and marking them as webmethods.

Still there are some minor differences in the WSDL files like in the sample WSDL elements were like

<xsd:Customer>

but in my ASP.NET wsdl it shows as
<s:Customer>

I saw your links for WebServiceBindingAttribute but dont understand how i can resolve the issues with WSDL looks as highlighted above.

Thanks in advance for you reply.

Amit
0
 
LVL 11

Accepted Solution

by:
lenordiste earned 500 total points
ID: 39294470
the difference is probably because the file is not using the exact same namespace, it shouldn't be too much of a problem really. Do you have means to try out and test if it works with your current wsdl ?
0
 

Author Comment

by:advikseth1000
ID: 39295553
yes, I have sent the WSDL to client to test it. If it works for Siebel then no issues otherwise i have to look out for this small change in WSDL.


Thanks for your reply.

Amit
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio editor? 1 37
Need help on C# Linq query on object 6 51
C# application error "Parameter Is Not Valid". 3 75
Class object 2 26
Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now