# The prefix "soapenc" for attribute "soapenc:arrayType" is no

**URL:** <https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Service-Orchestrator\
**Created:** [August 16, 2004, 4:16am UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137 "2004-08-16T04:16:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 16, 2004, 4:16am UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137/1 "2004-08-16T04:16:22Z")

</div>

I’m calling another Web Service and gets the follwing error:  
  
The prefix “soapenc” for attribute “soapenc:arrayType” is not bound. Attached it the trace file. The sequence looks like this  
  
\<?xml version="1.0" encoding="UTF-8"?\>  
  
  
  
  
  
  
  
  
  
  
  
  
  
The xml document used to set the payload, looks like this:  
  
\<m:searchByRegion xmlns:m=“capeconnect:GlobalWeather:StationInfo”\>  
  
\</m:searchByRegion\>  
  
Any idea why I’m getting this error and what I could do to fix it?  
  
Thanks  
Theo  
[DefaultComponentFactory.xbd.zip](https://techcommunity.softwareag.com/uploads/short-url/amdxWPblpzTtJpgN2i9hZ5yq3uC.zip) (212 KB)

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://techcommunity.softwareag.com/u/Jason)\
**Post date:** [August 19, 2004, 10:03pm UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137/2 "2004-08-19T22:03:32Z")

</div>

Theo,  
  
  
This could be a bug. We’re looking at it now.  
  
Jason

---

<div class="post-metadata">

**Author:** ![Jason](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@Jason](https://techcommunity.softwareag.com/u/Jason)\
**Post date:** [August 21, 2004, 3:03am UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137/3 "2004-08-21T03:03:21Z")

</div>

Hi Theo,  
  
Here’s the problem: We dumped out the raw SOAP message returned from the Web Service, and the SOAP-ENC namespace prefix is declared in the outer SOAP envelope element, but we only extract the child of the SOAP body element and put that into the return Mediator message. Unfortunately, that XML fragment does not include another SOAP-ENC namespace declaration, so we end up with an invalid XML fragment, since that prefix is used in the fragment.   
  
The developer has fixed it and we will know next week if we can deliver it in the 7311 or 7312 patch.  
  
Thanks,  
  
Jason

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [August 31, 2004, 10:41pm UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137/4 "2004-08-31T22:41:30Z")

</div>

Thanks Jason,  
  
the fix worked great.  
  
Theo

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/the-prefix-soapenc-for-attribute-soapenc-arraytype-is-no/59137/5 "2021-04-02T14:39:40Z")

</div>


