473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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:multipartRelated> 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.sourceforge.net/xml/wsdl/CMSDMS"
xmlns:target="http://oxci.sourceforge.net/xml/wsdl/CMSDMS"
xmlns:local="http://oxci.sourceforge.net/xml/wsdl/Local"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:filing="http://oxci.sourceforge.net/xml/CourtFiling"
xmlns:query="http://oxci.sourceforge.net/xml/QueryResponse"
xmlns:payment="http://oxci.sourceforge.net/xml/Payment"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema xmlns="http://www.w3.org/2000/10/XMLSchema"
targetNamespace="http://oxci.sourceforge.net/xml/wsdl/Local">
<element name="ConversationID" type="string"/>
<element name="CallbackURI" type="string"/>
<element name="Acknowledgement" type="string"/>
</schema>
</types>
<import namespace="http://oxci.sourceforge.net/xml/CourtFiling"
location="http://oxci.sourceforge.net/xml/CourtFiling/CourtFiling0.9.xsd"/>
<import namespace="http://oxci.sourceforge.net/xml/QueryResponse"
location="http://oxci.sourceforge.net/xml/QueryResponse/QueryResponse0.9.xsd"/>
<import namespace="http://oxci.sourceforge.net/xml/Payment"
location="http://oxci.sourceforge.net/xml/Payment/Payment0.3.xsd"/>
<message name="FilingSubmissionMessage">
<part name="conversationID"
element="local:ConversationID"/>
<part name="callbackURI" element="local:CallbackURI"/>
<part name="payment" element="payment:PaymentRequest"/>
<part name="body" element="filing:FilingSubmissions"/>
</message>
<message name="FilingSubmissionMessageAck">
<part name="acknowledgement"
element="local:Acknowledgement"/>
</message>
<message name="FilingSubmissionResponseMessage">
<part name="conversationID"
element="local:ConversationID"/>
<part name="body" element="filing:FilingConfirmations"/>
</message>
<message name="FilingSubmissionResponseMessageAck">
<part name="acknowledgement"
element="local:Acknowledgement"/>
</message>
<message name="FilingQueryMessage">
<part name="conversationID"
element="local:ConversationID"/>
<part name="callbackURI" element="local:CallbackURI"/>
<part name="body" element="query:FilingQueries"/>
</message>
<message name="FilingQueryMessageAck">
<part name="acknowledgement"
element="local:Acknowledgement"/>
</message>
<message name="FilingQueryResponseMessage">
<part name="conversationID"
element="local:ConversationID"/>
<part name="body" element="query:FilingResponses"/>
</message>
<message name="FilingQueryResponseMessageAck">
<part name="acknowledgement"
element="local:Acknowledgement"/>
</message>
<portType name="FilingSubmissionPortType">
<operation name="SubmitFilingOperation">
<input message="target:FilingSubmissionMessage"/>
<output message="target:FilingSubmissionMessageAck"/>
</operation>
</portType>
<portType name="FilingSubmissionResponsePortType">
<operation name="SubmitFilingResponseOperation">
<input message="target:FilingSubmissionResponseMessage"/>
<output
message="target:FilingSubmissionResponseMessageAck "/>
</operation>
</portType>
<portType name="FilingQueryPortType">
<operation name="FilingQueryOperation">
<input message="target:FilingQueryMessage"/>
<output message="target:FilingQueryMessageAck"/>
</operation>
</portType>
<portType name="FilingQueryResponsePortType">
<operation name="FilingQueryResponseOperation">
<input message="target:FilingQueryResponseMessage"/>
<output message="target:FilingQueryResponseMessageAck"/>
</operation>
</portType>
<binding name="FilingSubmissionSOAPBinding"
type="target:FilingSubmissionPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="SubmitFilingOperation">
<soap:operation soapAction=""/>
<input>
<soap:header message="FilingSubmissionMessage"
part="conversationID" use="literal"/>
<soap:header message="FilingSubmissionMessage"
part="callbackURI" use="literal"/>
<mime:multipartRelated>
<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:multipartRelated>
</input>
<output>
<soap:header parts="acknowledgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingSubmissionResponseSOAPBinding"
type="target:FilingSubmissionResponsePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="SubmitFilingResponseOperation">
<soap:operation soapAction=""/>
<input>
<soap:header message="FilingSubmissionResponseMessage"
part="conversationID" use="literal"/>
<mime:multipartRelated>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<soap:header parts="acknowledgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingQuerySOAPBinding"
type="target:FilingQueryPortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="FilingQueryOperation">
<soap:operation soapAction=""/>
<input>
<soap:header message="FilingQueryMessage"
part="conversationID" use="literal"/>
<soap:header message="FilingQueryMessage"
part="callbackURI" use="literal"/>
<mime:multipartRelated>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<soap:header parts="acknowledgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<binding name="FilingQueryResponseSOAPBinding"
type="target:FilingQueryResponsePortType">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="FilingQueryResponseOperation">
<soap:operation soapAction=""/>
<input>
<soap:header message="FilingQueryResponseMessage"
part="conversationID" use="literal"/>
<mime:multipartRelated>
<mime:part>
<soap:body parts="body" use="literal"/>
</mime:part>
<mime:part>
<mime:content type="*/*"/>
</mime:part>
</mime:multipartRelated>
</input>
<output>
<soap:header parts="acknowledgement" use="literal"/>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="FilingSubmissionService">
<documentation>Store an LXML filing to a CMS or
DMS.</documentation>
<port name="FilingSubmissionPortType"
binding="target:FilingSubmissionSOAPBinding">
<soap:address
location="http://your.active.soap.service.uri"/>
</port>
</service>
<service name="FilingQueryService">
<documentation>Query LXML filings against a CMS or
DMS.</documentation>
<port name="FilingQueryPortType"
binding="target:FilingQuerySOAPBinding">
<soap:address
location="http://your.active.soap.service.uri"/>
</port>
</service>
</definitions>

Nov 12 '05 #1
0 3207

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

Similar topics

2
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
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...
9
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,...
0
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...
2
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...
0
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...
1
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 /...
6
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...
7
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.