How to get a file which is in a tag?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021
06:13 AM
06-29-2021
06:13 AM
How to get a file which is in a tag?
Hello,
Sorry, I don't speak english really well...
I made a request based on a wsdl, i was searching for a .zip file and I got it in a tag.
Please can you tell me how to make this file in a directory in my computer?
Thank you in advance!
Kind regards Clawzix.
@nmraoI know that you are helpfull for SoapUI users please help me if you can.. I need an answer as quick as possible..
Solved! Go to Solution.
Labels:
- Labels:
-
SOAP
16 REPLIES 16
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
01:45 AM
07-01-2021
01:45 AM
Not really sure what type of data inside that tag.
Try changing from
def inStream = new ByteArrayInputStream( zipContent.getBytes( 'UTF-8' ) )
to
def inStream = new ByteArrayInputStream( zipContent)
Regards,
Rao.
Try changing from
def inStream = new ByteArrayInputStream( zipContent.getBytes( 'UTF-8' ) )
to
def inStream = new ByteArrayInputStream( zipContent)
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
01:52 AM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
02:11 AM
07-01-2021
02:11 AM
As you mention that it could save file, revert the change and check with your team why zip is corrupted.
Regards,
Rao.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
02:16 AM
07-01-2021
02:16 AM
Have you not replaced
assert context.assert with assert context.response in line1 ?
Regards,
Rao.
assert context.assert with assert context.response in line1 ?
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
02:32 AM
07-01-2021
02:32 AM
thanks a lot for your help we will find out why this file is corrupted on our own.
Regards,
Clawzix.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
06:09 AM
07-01-2021
06:09 AM
I now know that the message in the tag "MessageZip" is encoded in Basic Binary 64 can you tell me how to write it on this line:
def inStream = new ByteArrayInputStream( zipContent.getBytes( 'UTF-8' ) )
Regards,
Clawzix.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2021
07:33 AM
07-01-2021
07:33 AM
Does the zip should contain single file or multiple files?
Regards,
Rao.
Regards,
Rao.

- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »