mtom serving word doc - web-services

has anyone been able to serve a word doc using metro (webservices) as a mtom stream? Does anyone have example, or know where there is example code please for client and server?

The Large Attachments and Binary Attachments (MTOM) examples might help.

Dont know why folks at sun write half-baked stuff !
tried giving a simple sample code. Hope this helps
JAX-WS MTOM Sample Code

Related

How to add an image file as a header to every print job programmatically in C/C++/C#?

So basically, I have no idea where to start since I'm not actually a desktop developer.
I'm a web dev but we need this functionality in our current project with a client but sadly we don't have background knowledge for this and we have been searching for ways how to do it and so far we are convinced that we need C/C++/C# for this.
But the problem is how or in where do we start? The use case for this is very few and thus too little Documentation is available especially in forums.
We would appreciate any help. Thanks in advance.

minimal test with apache geode

I would like to extend geode with custom binary data (serialization). Is there any documentation about how to kickoff a minimal setup/system using geode? I saw a docker image but didn't find any docs on this.
It would be more than enough for me to have a c++ client which can push and query the stored (~30 GB of) data by a key.
Thank you very much for your help!
Checkout... https://cwiki.apache.org/confluence/display/GEODE/Index#Index-Geodein5minutes
There is more information on the Geode Wiki as well that maybe of use to you.
https://cwiki.apache.org/confluence/display/GEODE/Application+Development
This maybe of particular interests to you...
https://cwiki.apache.org/confluence/display/GEODE/PDX+Serialization+Internals
Hope this helps get you started.
Cheers!
The C++ and C# clients are currently not part of Apache Geode, just Pivotal GemFire.
You will find information about Geode and Docker here, here and here.
There may not be actual documentation for C++, but you can use the REST client to communication with GemFire as well. Documentation is here and here.

Regex for multi parameter endpoint

so far I've built apis in this fashion due to lack of knowledge
/doc/:uri/:coll/:db
But i want endpoint which should look something like this
/doc?uri=/a/b&coll=mycoll&db=documents
Can you please provide the regex for this. Thanks in advance!

AXIS2C WSDL2C codegen

I feel helpless especially without proper documentation for WSDL2C codegen tool. Here is the question with little background:
I was able to download the WSO2-WSF-C-SRC (C source) and able to compile and get the SOAP server running. Also created a wsdl file and generated server skeleton code using WSDL2C codegen tool. The codegen code is way bigger than the code that appears in the Samples provided in the download. Unfortunately, there isn't much literature for the code generated by the WSDL2C tool. Can someone help as to how the start my business logic coding? How to set some default values to all the output parameters? I was able to figure out the location to start. I wish there is a sample code somewhere with the business logic code as well. Can someone help?
Thanks in advance.
Well, I cracked the code. Obviously, one has to go through the code to understand the basic structure, which I did, finally.
Best Wishes.

C++ HTTP / HTML Socket Question

I'm building an application which I'd like to have it connect to a website and parse some data off it. I'm wondering if anyone could provide me some raw example code.
I don't necessarily need help parsing, I'm just wondering in C++ how would I go about downloading the data from the page into my app so that I can start parsing the data I need out of it?
Check out libCurl.
Check out boost.asio [examples].