Solved

How to create ASP.NET WebService with Siebel Integration Object

Posted on 2013-06-29
6
975 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

 

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 DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Service FileSystemwatcher isse 9 64
Data organization issue 7 55
orderby list (from Json) 1 43
Can Selenium do Load Testing? 2 59
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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

732 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