473,715 Members | 4,902 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MIME Extensions

Hello,

I'm tasked with creating a WSDL file that is compatible with .NET's
code gen' tool, wsdl.exe. I'm getting an error in the code output
saying "Missing soap:body input binding", which seems to indicate it
can't find the <soap:body> element where it's looking for it.

We are using the extension <mime:multipart Related> to define
some SOAP attachements in our interface, and the <soap:body>
element is inside a subelement of that (per the examples I have
found), rather than directly within the <input> element. I
have read that .NET does .NOT support that MIME extension, which
would explain the error.

Is this true, and how can I work around it? My WSDL follows. Thank
you all.

--Jason
<?xml version="1.0"?>
<definitions name="EFiling"
targetNamespace ="http://oxci.sourceforg e.net/xml/wsdl/CMSDMS"
xmlns:target="h ttp://oxci.sourceforg e.net/xml/wsdl/CMSDMS"
xmlns:local="ht tp://oxci.sourceforg e.net/xml/wsdl/Local"
xmlns:soap="htt p://schemas.xmlsoap .org/wsdl/soap/"
xmlns:mime="htt p://schemas.xmlsoap .org/wsdl/mime/"
xmlns:filing="h ttp://oxci.sourceforg e.net/xml/CourtFiling"
xmlns:query="ht tp://oxci.sourceforg e.net/xml/QueryResponse"
xmlns:payment=" http://oxci.sourceforg e.net/xml/Payment"
xmlns="http://schemas.xmlsoap .org/wsdl/">
<types>
<schema xmlns="http://www.w3.org/2000/10/XMLSchema"
targetNamespace ="http://oxci.sourceforg e.net/xml/wsdl/Local">
<element name="Conversat ionID" type="string"/>
<element name="CallbackU RI" type="string"/>
<element name="Acknowled gement" type="string"/>
</schema>
</types>
<import namespace="http ://oxci.sourceforg e.net/xml/CourtFiling"
location="http://oxci.sourceforg e.net/xml/CourtFiling/CourtFiling0.9. xsd"/>
<import namespace="http ://oxci.sourceforg e.net/xml/QueryResponse"
location="http://oxci.sourceforg e.net/xml/QueryResponse/QueryResponse0. 9.xsd"/>
<import namespace="http ://oxci.sourceforg e.net/xml/Payment"
location="http://oxci.sourceforg e.net/xml/Payment/Payment0.3.xsd"/>
<message name="FilingSub missionMessage" >
<part name="conversat ionID"
element="local: ConversationID"/>
<part name="callbackU RI" element="local: CallbackURI"/>
<part name="payment" element="paymen t:PaymentReques t"/>
<part name="body" element="filing :FilingSubmissi ons"/>
</message>
<message name="FilingSub missionMessageA ck">
<part name="acknowled gement"
element="local: Acknowledgement "/>
</message>
<message name="FilingSub missionResponse Message">
<part name="conversat ionID"
element="local: ConversationID"/>
<part name="body" element="filing :FilingConfirma tions"/>
</message>
<message name="FilingSub missionResponse MessageAck">
<part name="acknowled gement"
element="local: Acknowledgement "/>
</message>
<message name="FilingQue ryMessage">
<part name="conversat ionID"
element="local: ConversationID"/>
<part name="callbackU RI" element="local: CallbackURI"/>
<part name="body" element="query: FilingQueries"/>
</message>
<message name="FilingQue ryMessageAck">
<part name="acknowled gement"
element="local: Acknowledgement "/>
</message>
<message name="FilingQue ryResponseMessa ge">
<part name="conversat ionID"
element="local: ConversationID"/>
<part name="body" element="query: FilingResponses "/>
</message>
<message name="FilingQue ryResponseMessa geAck">
<part name="acknowled gement"
element="local: Acknowledgement "/>
</message>
<portType name="FilingSub missionPortType ">
<operation name="SubmitFil ingOperation">
<input message="target :FilingSubmissi onMessage"/>
<output message="target :FilingSubmissi onMessageAck"/>
</operation>
</portType>
<portType name="FilingSub missionResponse PortType">
<operation name="SubmitFil ingResponseOper ation">
<input message="target :FilingSubmissi onResponseMessa ge"/>
<output
message="target :FilingSubmissi onResponseMessa geAck"/>
</operation>
</portType>
<portType name="FilingQue ryPortType">
<operation name="FilingQue ryOperation">
<input message="target :FilingQueryMes sage"/>
<output message="target :FilingQueryMes sageAck"/>
</operation>
</portType>
<portType name="FilingQue ryResponsePortT ype">
<operation name="FilingQue ryResponseOpera tion">
<input message="target :FilingQueryRes ponseMessage"/>
<output message="target :FilingQueryRes ponseMessageAck "/>
</operation>
</portType>
<binding name="FilingSub missionSOAPBind ing"
type="target:Fi lingSubmissionP ortType">
<soap:binding style="document "
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="SubmitFil ingOperation">
<soap:operati on soapAction=""/>
<input>
<soap:header message="Filing SubmissionMessa ge"
part="conversat ionID" use="literal"/>
<soap:header message="Filing SubmissionMessa ge"
part="callbackU RI" use="literal"/>
<mime:multipart Related>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content part="payment" type="text/xml"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartR elated>
</input>
<output>
<soap:header parts="acknowle dgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingSub missionResponse SOAPBinding"
type="target:Fi lingSubmissionR esponsePortType ">
<soap:binding style="document "
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="SubmitFil ingResponseOper ation">
<soap:operati on soapAction=""/>
<input>
<soap:header message="Filing SubmissionRespo nseMessage"
part="conversat ionID" use="literal"/>
<mime:multipart Related>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartR elated>
</input>
<output>
<soap:header parts="acknowle dgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingQue rySOAPBinding"
type="target:Fi lingQueryPortTy pe">
<soap:binding style="document "
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="FilingQue ryOperation">
<soap:operati on soapAction=""/>
<input>
<soap:header message="Filing QueryMessage"
part="conversat ionID" use="literal"/>
<soap:header message="Filing QueryMessage"
part="callbackU RI" use="literal"/>
<mime:multipart Related>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartR elated>
</input>
<output>
<soap:header parts="acknowle dgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingQue ryResponseSOAPB inding"
type="target:Fi lingQueryRespon sePortType">
<soap:binding style="document "
transport="http ://schemas.xmlsoap .org/soap/http"/>
<operation name="FilingQue ryResponseOpera tion">
<soap:operati on soapAction=""/>
<input>
<soap:header message="Filing QueryResponseMe ssage"
part="conversat ionID" use="literal"/>
<mime:multipart Related>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartR elated>
</input>
<output>
<soap:header parts="acknowle dgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="FilingSub missionService" >
<documentation> Store an LXML filing to a CMS or
DMS.</documentation>
<port name="FilingSub missionPortType "
binding="target :FilingSubmissi onSOAPBinding">
<soap:address
location="http://your.active.soa p.service.uri"/>
</port>
</service>
<service name="FilingQue ryService">
<documentation> Query LXML filings against a CMS or
DMS.</documentation>
<port name="FilingQue ryPortType"
binding="target :FilingQuerySOA PBinding">
<soap:address
location="http://your.active.soa p.service.uri"/>
</port>
</service>
</definitions>

Nov 12 '05 #1
0 3240

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2776
by: Vilmar Brazão de Oliveira | last post by:
HI, How verify MIME type of file?? Which components should I use? Still now I couldn't find anything! OBS.: I don´t to check file extensions! Thanks,
2
10029
by: bill | last post by:
Hi All, When I send html content with Excel MIME type, the page break style sheet {page-break-before: always} doesn't work at Excel spreadsheet. Any idea to convert html page break style sheet to Excel page break? Thanks in advance
9
8348
by: Mark Olbert | last post by:
I have an application whose installer can be downloaded from the Internet as an MSI file (by clicking on a link). The content-type parameter is set to application/octet-stream. Under Firefox, this works fine. However, under IE, the file is downloaded as an "unknown type", and the file extension is stripped off. How do I go about preserving the MSI file extension under IE? - Mark
0
2158
by: José Joye | last post by:
hello, I have to communicate with a web Service for which I received the WSDL below. When trying to generate the client proxy, it gives me the error (see below). After investigation, I have seen that the error is related to the ouput parameter. To my understanding this could be related to the MIME tag. However, I'm by far not a WSDL expert.
2
1280
by: shrini | last post by:
Friends. I am doing a Document Management System. All the uploaded docs are stored in a directory, but the names ae encrypted as a long text without any extension. I use mnoGosearch. To Do search within files and documents, All mime types should be specified in indexer.conf.
0
1370
by: stephenmoore | last post by:
Has anyone managed to return a multipart MIME message from a .NET web service? I'm writing a web service that will be used by a Java client that expects a SwA attachment. The construction of the multipart MIME message looks pretty easy, but I can't work out how to get a .NET web service to return anything but a standard soap packet. Soap Extensions and Soap Filters both operate on the Soap Envelope - I need access to the entire response...
1
1478
chunk1978
by: chunk1978 | last post by:
hi. i have this mime-type array in my php upload script... but my mime type for photoshop files isn't working. what's wrong with this? # -=-=-=- Allowed File Extensions: .TIF / .PSD / .JPG / .JPEG / .JPE / .PNG $mimetypes = array ( 'image/tiff', 'image/vnd.adobe.photoshop', 'image/jpeg',
6
6252
by: Mad Hatter | last post by:
Hi folks I'm a bit confused with an upload script that I've written. I want to be able to check the file type of an upload by checking the mime type but I'm not getting the results that I thought I should. According to what I've read .zip files should return something like 'application/zip' or 'application/x-zip-compressed', RAR should return 'application/x-rar-compressed' but both return 'application/octet-stream'. I'm getting the...
7
2938
by: Ron Garret | last post by:
I'm writing a little HTTP server and need to parse request content that is mime-encoded. All the MIME routines in the Python standard library seem to have been subsumed into the email package, which makes this operation a little awkward. It seems I have to do the following: 1. Extract the content-length header from the HTTP request and use that to read the payload. 2. Stick some artificial-looking headers onto the beginning of this...
0
8718
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9340
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9196
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9103
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
4477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4738
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2539
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2118
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.