I would like to get the byte stream of a picture in order to save this stream into the AD attribute thumbnailPhoto via the use of the action "Update AD user"
So far I'm using the Copy.GetItem method and in general it looks quite promising...
When running a test I can see the stream in the result box.
But when running the workflow it throws me the error...
there is something weird with your output configureation.
how did you get there 'undefined'?
there should be a xpath to an element (m:stream) you want to extract.
try to remove output configuration and set it up once again.
I did it several times and I also tried other attributes than m:Stream
But always the selected result is undefined:m:Stream.
Today I have implemented it within a list workflow not a site workflow because I thought maybe then the undefined will be replaced. But unfortunately same situation.
As you can see I always get "undefined..." and not "/soap:Evelope/..." as you have.
Is there something which needs to be configured somewhere centrally?
it looks like it can not read or parse response definition from wsdl correctly.
can you post how does XML tree looks like in 'specify element' dialog?
try to directly read wsdl definition by putting <site_URL>/_vti_bin/Copy.asmx?wsdl into browser and check definition of GetItem element and its response.
I have now put <site_URL>/_vti_bin/Copy.asmx?wsdl into the action but there is still "undefined" even after refreshing the method selection.
XML tree looks like this:
I am able to read <site_URL>/_vti_bin/Copy.asmx?wsdl properly.
do you have a chance to call the web service from an other application/tool (like soapui)?
just to proof whether problem is at service side or at nintex side.
what workflow version are you on?
I have tried with soapui but without success --> "Unexpected end of file after null"
I have also found this thread with similar problem Call WebService action can't parse XML-schema
My version is: Version: 184.108.40.206 - English, License type: Development (Enterprise)