wsimport « jaxb « Java Enterprise Q&A





1. ws jaxb custom external mapping    stackoverflow.com

I have to do custom JAXB external mapping file. Already red tutorial about this and can not find any suitable example of JAXB customization. My scenario is that I have ...

2. wsimport doesnt generate code related to soap headers    stackoverflow.com

I'm generating client java code from a wsdl using 'wsimport'. The wsdl has soap:header in the operation definitions like this

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.test.com/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.test.com/" ...