Solved

How to create ASP.NET WebService with Siebel Integration Object

Posted on 2013-06-29
6
916 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

746 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

11 Experts available now in Live!

Get 1:1 Help Now