Using Fedora 3, I've taken the example 3 CModel from the second
tutorial, and tweaked it to read from a datastream in my own object.
I noticed the MIME type returned was text/html, so I looked at the
SDep and inside the wsdl, changed
<wsdl:output>
<mime:content type="text/html"/>
</wsdl:output>
to
<wsdl:output>
<mime:content type="text/xml"/>
</wsdl:output>
and I also changed the MethodReturnType element with the METHODMAP
datastream to
<fmm:MethodReturnType wsdlMsgName="xslt_response" wsdlMsgTOMIME="text/
xml"/>
However, if invoke the service in a browser (http://localhost:8080/fedora/get/demo:myobjectpid/demo:mySDef/myMethod
), the content type returned is text/html. Did I modify the SDep
correctly?
Any help appreciated.
Willy
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users