• Post Reply Bookmark Topic Watch Topic
  • New Topic

WSDL datatype for Excel File

 
ryan bohnert
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Business client is requesting the web service response contain an excel file.

What is the xml datatype for excel?
Is this even possible?

Will be using weblogic 12c for project.

Sample
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XML Schema knows nothing about Excel files - you'd need to use the type for raw bytes; was it "anything" or something like that?

I would advise against embedding files in SOAP. If the file absolutely has to be part of the WS response, make it a SOAP attachment. Otherwise, I'd just send the necessary data to retrieve the file some other way, maybe via FTP. Sending files is really not what SOAP is meant (or optimized) for.
 
ryan bohnert
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

i ended up reading a few more articles regarding SOAP Message Transmission Optimization Mechanism(MTOM) and just might have figured out how to do it in weblogic
The xml schema code looks something like this


thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!