eed3si9n/scalaxb — Issue #130: Compiling project with SOAP 1.1 & 1.2 WSDLs fails
Author: ben-manes
Created: 2011-12-10 19:28:29+00:00
State: open

# Steps
1. Define a SOAP 1.1 and a SOAP 1.2 wsdl for different web services
2. Compile

# Problem
The Soap11Clients is generated but not the SoapClients (1.2). A compilation fails as the type cannot be found.

# Expectation
Both clients are generated. The project should be allowed to interact with multiple webservices which use different SOAP versions.

# Example
Salesforce Partner WSDL (SOAP 1.1): https://gist.github.com/1454097
National DoNotCall Registry WSDL (SOAP 1.2): https://gist.github.com/1454819

```
[ERROR] C:\projects\drdnc\target\generated-sources\scalaxb\generated\xmlprotocol.scala:481: error: type SoapClients is not a member of package scalaxb
[INFO] trait DownloadSvcSoap12Bindings { this: scalaxb.SoapClients =>
[INFO]
```
```
$ grep -r Soap.*Clients target/generated-sources/scalaxb/
target/generated-sources/scalaxb/generated/xmlprotocol.scala: trait DownloadSvcSoap12Bindings { this: scalaxb.SoapClients =>
target/generated-sources/scalaxb/generated/xmlprotocol.scala: trait SoapBindings { this: scalaxb.Soap11Clients =>
target/generated-sources/scalaxb/scalaxb/soap11.scala:trait Soap11Clients { this: HttpClients =>
```

For more background see:
https://github.com/eed3si9n/scalaxb/issues/129#issuecomment-3092438